Thanks, Phil. The documentation seemed to be a little ambiguous on the subject.

> On Apr 12, 2020, at 9:34 PM, Phil Pirozhkov <[email protected]> wrote:
> 
> It doesn't work that way, you have to make an expectation on the side effect 
> of that action, as the object you are making the 'receive' expectation on is 
> different from the object that will be returned by 'find' in the controller. 
> You can check '.object_id' to make sure.
> 
> I suggest you to check that the number of alive users has changed.
> 
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rspec/20200413043400.5840974.54103.1866%40gmail.com.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/E6E754DC-C79A-4852-8EB4-0E6981D42222%40pobox.com.

Reply via email to