Hi, It might sound strange, but you usually stub Time.now Read here: http://ariejan.net/2008/11/05/rspecing-with-timenow/
Am 09.10.2010 um 02:20 schrieb Russell Quinn: > 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? -- Thomas R. "TomK32" Koll just a geek trying to change the world http://ananasblau.com || http://photostre.am || http://photolog.at _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users