[rspec-users] Mock should receive no messages?

Sebastian W. lists at ruby-forum.com
Wed Jun 3 13:46:13 EDT 2009


Hello all,
Is there a way to explicitly tell a mock to expect no messages and give
an error if it does? I believe this is the default behavior, but thought
it might be nice for code readers to see.

Thank you!
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list