Strange request, I know...also seems pretty unlikely that it will
work, but:
Any thoughts on how I might change the setting on the fly (or stub
it)? I'm stopping certain classes loading in production, and I'd like
to be able to test the behavior without having to manually change the
setting in te
Thanks for that everyone! Henceforth I shall always endeavour to stop
the flow of time in all of my specs!
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Even if this is a bug, it's a pretty obscure one. It was frustrating
the hell out of me until I found a workaround, so I thought I'd just
post the details:
Given a find like this:
def self.find_old
User.all(:conditions => ['updated_at <= ?',Time.now - 1.day)
...
Trying to set a message expe