James Mead wrote: > You could try using Mocha (http://mocha.rubyforge.org)... > > Time.stubs(:now).returns(the_time_you_want) I dig that idea, but I get the current time in the actual DB code. I am trying to test my DB code just as much as I am testing my Ruby code here. -- Posted via http://www.ruby-forum.com/.