On Jan 3, 2008 3:20 PM, Kerry Buckley <[EMAIL PROTECTED]> wrote:
>
> On 2 Jan 2008, at 22:09, David Chelimsky wrote:
>
> > On Jan 2, 2008 5:20 PM, Zach Dennis <[EMAIL PROTECTED]> wrote:
> >
> >> RSpec doesn't enforce strict-order mocking.
> >
> > Sure it does, if you ask it to:
> > http://rspec.info/documentation/mocks/message_expectations.html
>
> Am I right, though, in thinking that you can't enforce order between
> two mocks? It would occasionally be nice to be able to say something
> like:
>
> master.should_receive(:start).and_then(slave).should_receive(:start)

Yes, you are correct. RSpec does not support this functionality.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to