pserv.should_receive(:smart_add_participant).with("A", 2, 3)
pserv.should_receive(:smart_add_participant).with("A", 4, 1)
And if order matters:
pserv.should_receive(:smart_add_participant).with("A", 2, 3).ordered
pserv.should_receive(:smart_add_participant).with("A", 4, 1).ordered
Cheers,
David
>
> Thank you!
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "rspec" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
rspec+un...@googlegroups.com.
> To post to this group, send email to
rs...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/rspec/-/HugZowISE4gJ.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>