[rspec-users] Strange message expectation behaviour with Time.now in a find condition

David Chelimsky dchelimsky at gmail.com
Fri Jan 30 10:38:56 EST 2009


On Fri, Jan 30, 2009 at 9:17 AM, Mark Wilden <mark at mwilden.com> wrote:
> Avdi Grimm wrote a blog post about why he doesn't stub Time.now and instead
> always injects a clock into his objects. I disagreed, but I can't seem to
> find the article now.

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/297660

>
> ///ark
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list