That would be it. I got confused between @messenger (StringIO) in Cucumber and @messenger in RSpec (mock) in the RSpec book and though I was looking at a StringIO object. Thanks, Nick
On Thu, Apr 30, 2009 at 8:59 AM, David Chelimsky <[email protected]>wrote: > On Thu, Apr 30, 2009 at 7:51 AM, Nicholas Van Weerdenburg > <[email protected]> wrote: > > Hi, > > I had some tests where I accidently used ".shoud" instead of ".should". > > There was no error, and all tests passed no matter what. Is the the > correct > > behaviour or should there be an error if you mispell should? > > Normally there would be an error, but if the object that you're > sending shoud to is a stub set to ignore calls it doesn't understand, > then it would just ignore it. If that's not the problem, please show > us some code. > > David > > > Thanks, > > Nick > > _______________________________________________ > > rspec-users mailing list > > [email protected] > > http://rubyforge.org/mailman/listinfo/rspec-users > > > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
