This test fails on Travis because the default timezone there is UTC - you need to make the test independent of the timezone. Either set the timezone and restore it with an `ensure` block or use `Time#in_time_zone` to convert it to a known one - the latter is easiest in this case.