[mocha-developer] Partial matches in expectations

Francois Beausoleil francois.beausoleil at gmail.com
Tue Nov 28 10:54:33 EST 2006

Hello James !

2006/11/28, James Mead <jamesmead44 at gmail.com>:
> @template.expects(:content_tag).with { |*params| params.first == :fieldset }

Thanks.  I remember reading that somewhere before.  You should have
told me to read the friggin' manual :)

Thanks, works great !
François Beausoleil

More information about the mocha-developer mailing list