rspec/rspec-mocks — pull request #318 by kirs (2013-06-20 11:22:41+00:00)
Title: Time argument matcher for should_receive

I ofter write something like

`object.should_receive(:mymethod).with(3.hours.ago)`

But it won't pass.

With this addition it's now possible to write:

`object.should_receive(:mymethod).with(time_argument(3.hours.ago))`