[mocha-developer] Partial matches in expectations

Francois Beausoleil francois.beausoleil at gmail.com
Tue Nov 28 10:02:18 EST 2006


Hi !

I would like to ascertain the following in a test case:

@template.expects(:content_tag).with(:fieldset, :__any_arguments__i_dont_care)

Is it possible to do so ?  If so how ?  If not, is it something the
community wants ?  Is it useful ?

Thanks !
-- 
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/


More information about the mocha-developer mailing list