On Fri, Oct 17, 2008 at 3:54 PM, Zach Dennis <[EMAIL PROTECTED]> wrote: > On Fri, Oct 17, 2008 at 3:37 PM, Stephen Eley <[EMAIL PROTECTED]> wrote: >> >> That sounds right to me. You declared 'file' as a mock. Mocks are >> bratty little children that treat it as an error and throw a tantrum >> if you don't give them everything they expect, no more nor less. > > Are you a proud parent? :)
Yes, very. And I mock my three-year-old's behavior often. I also tell him what he should_receive; what he returns, alas, is not yet deterministic. -- Have Fun, Steve Eley ([EMAIL PROTECTED]) ESCAPE POD - The Science Fiction Podcast Magazine http://www.escapepod.org _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
