Spying with RSpec
Spying is used to assert if a method has been called, this post is about how to use spies with Rspec. http://borgs.cybrilla.com/tils/spying-with-rspec/
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Spying is used to assert if a method has been called, this post is about how to use spies with Rspec. http://borgs.cybrilla.com/tils/spying-with-rspec/
Post a comment