Adding timecop as a gem dependency when in development env. This allows for time...
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Sat, 3 Apr 2010 21:02:20 +0000 (21:02 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Sat, 3 Apr 2010 21:02:20 +0000 (21:02 +0000)
commit9dabe690326c7e952ae0cfb38ee3fcd423d2de44
tree593628d76f5b9741fb32701ec48cd828cf472dbf
parent6e14bf5ec736239c2a00fb8f4c85aa66ea6b585c
Adding timecop as a gem dependency when in development env. This allows for time based tests to be accurate/consistent. It will stop the random error on the api_controller_test#test_changes_simple, when you are on a slow machine/have bad timing.
config/environment.rb
test/functional/api_controller_test.rb