[rspec-users] RSpec vs Screw.Unit

Pat Maddox pergesu at gmail.com
Sat Oct 18 09:19:31 EDT 2008


Scott Taylor <mailing_lists at railsnewbie.com> writes:

> As for #3, I'm
> pretty sure that Ruby's method_missing allows one to raise an
> exception easily.  Not sure what a Javascript mocking framework would
> do in this case.

I'm not sure that I buy that this feature is very important.  Both
Javascript and Ruby blow up when you call a method that doesn't exist on
it anyway.  What's the difference between "Received unexpected message
'foo'" and "NoMethodError 'foo'"?

Pat


More information about the rspec-users mailing list