mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 11:10:12 +01:00
There were several problems: * Time.now returns the systems time, not the users time * fixtures do not translate dates from timezone to utc, but stores the date verbatim * calling a controller will set the timezone to the preference of the current_user. So it could be changed while you do not realize this. I fixed the failing test, but problems could be elsewhere |
||
|---|---|---|
| .. | ||
| controllers | ||
| fixtures | ||
| helpers | ||
| integration | ||
| models | ||
| minimal_test_helper.rb | ||
| test_helper.rb | ||