[mocha-developer] Testing a call to super

Tim Connor timocratic at gmail.com
Wed Jan 30 18:08:24 EST 2008


Did any further discussion ever come of this?  I take it is officially
not supported currently?  I just get an odd error when I try it (it
throws a "0 expected 1 received", no matter what stubbing/expectation
combo I use), so came looking around on google, and finally the
mailinglist.

Here's my stripped down example: http://pastie.caboo.se/145603 (it
fails with expects too)

Use case is the parent class has some complex functionality and you
just want to isolate and test something in the subclass.

Tim


More information about the mocha-developer mailing list