search for: advance_by_day

Displaying 2 results from an estimated 2 matches for "advance_by_day".

Did you mean: advance_by_days
2005 Dec 23
1
Salted Login Error
Anyone know what''s causing this? ------------------------------------------------------------------------ 1) Error: test_delete(UserControllerTest): NoMethodError: undefined method `advance_by_days='' for Time:Class ./test/functional/user_controller_test.rb:132:in `test_delete'' 2) Error: test_signup(UserControllerTest): NoMethodError: undefined method `advance_by_days='' for Time:Class ./test/functional/user_controller_test.rb:51:in `do_test_signup'...
2006 Jan 18
6
Consistent testing with methods that depend on Date.today
Hi everyone I''m building an app in which quite a bit of data is dependant on dates (and times), and I have logic that depends on when ''today'' is. I''m trying to get some better functional tests written, and am unsure of the best way to approach it. The problem is that I want the tests to run against the same data every time, whether I run it on Tuesday or