[rspec-users] stub vs stub!

Nick Hoffman lists at ruby-forum.com
Fri Mar 19 14:27:37 EDT 2010

Pat Maddox wrote:
> I've never heard of CurbFu, but according to 
> http://github.com/gdi/curb-fu/blob/master/lib/curb-fu.rb#L43 it defines 
> a stub method already.  So you're hitting that one, which expects two 
> arguments.  stub! goes to RSpec's mocking framework.
> Pat

Good catch! Thanks, Pat.
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list