Russell Quinn wrote:

I have the following in my fixtures:

publish_date:<%= DateTime.now.utc - 1.day %>

But 'DateTime.now.utc' always evaluates to my system time. Does anyone
have any ideas?

You might not like it, but what about fixing the date?
--
J. B. Rainsberger :: http://www.jbrains.ca ::
http://www.thecodewhisperer.com
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to