dnrce / tracks

Contributor fork of TracksApp/tracks
https://github.com/TracksApp/tracks
GNU General Public License v2.0
0 stars 0 forks source link

Fix all the broken time references in the tests #82

Open dnrce opened 10 years ago

dnrce commented 10 years ago

There's a ton of unnecessary .midnight, .utc, etc., and a number of cases where the dates shouldn't be fixed.

It all results in intermittently failing tests.

There are a bunch of new helpers in Rails 4.1 to assist with this. See http://edgeguides.rubyonrails.org/4_1_release_notes.html#active-support-notable-changes