Eric Allen
ba9a9370cc
Merge branch 'timezones' of git://github.com/epall/tracks into master.
...
Re-wrote all Date-related code to use Datetimes, created a migration to get rid of all date columns in the database, and got rid of Time.now calls that were not time zone-aware. Lots of time zone goodness!
2008-09-21 18:24:12 -07:00
Eric Allen
3647d79587
Overhaul of Time.now stuff because Time.now is unaware of time zones. Need to use Time.zone.now (Time.now.utc works fine when dealing with the database, since it is *always* in UTC)
2008-09-21 18:13:21 -07:00
Eric Allen
f52a2eafa8
A few fixes after more thorough review.
2008-09-21 18:13:21 -07:00
Eric Allen
3a21739be9
Merge branch 'mailer' of git://github.com/epall/tracks into master
2008-09-21 09:46:31 -07:00
Eric Allen
3006f73cb7
Bugfix: active_contexts wasn't actually working.
2008-09-21 09:32:11 -07:00
Eric Allen
2c3b3d9d69
Fixed bug where todos got pulled out of tickler too early if user's timezone was behind UTC.
2008-09-06 19:47:58 -07:00
Simon Rozet
e8d1ba2633
refactored context model spec to be a bit more 'rspec-ish' and to use skinny_spec and scenarios
2008-06-23 21:39:16 +02:00
Simon Rozet
6d54923e2f
Spec for `todo' model
2008-06-23 12:28:38 +02:00
Simon Rozet
44b7f56c23
Spec for user model
2008-06-23 12:28:03 +02:00
Simon Rozet
60b986a5b9
fix a failing spec for context model
2008-06-23 10:03:55 +02:00
bsag
eb53865ff9
Context model specs completed. Using fixtures for some examples currently, but might convert to mocks in future. Specs now offer same coverage as Test::Unit tests for Context model.
2008-06-23 10:02:17 +02:00
bsag
1dc03195d0
Initial work on specs for models - Context model spec started.
2008-06-23 10:02:17 +02:00