Hello. How can I test object to receive message and compare arguments of this message with value evaluated at present time? It is possible?
For example:
should_receive(:api_send).with( -> { players.count } ) And players.count
will be called and evaluated only when api_send is received.
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
