[rspec-users] "lambda Should Change" Behavior Failing When Checking Time

Carlos Rodriguez carlos at eddorre.com
Sun Nov 8 13:10:28 EST 2009

Thanks to everyone that responded to my question.

Here is what I ended up doing to make the spec pass:

time_now = Time.now
lambda { @post.publish! }.should change(@post,


More information about the rspec-users mailing list