[rspec-users] shoud error

David Chelimsky dchelimsky at gmail.com
Thu Apr 30 08:59:32 EDT 2009

On Thu, Apr 30, 2009 at 7:51 AM, Nicholas Van Weerdenburg
<vanweerd at gmail.com> 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.


> Thanks,
> Nick
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list