Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

RSpec provides a fluent interface off of expect(...).to receive(...) that allows you to further constrain what you expect: the arguments, the number of times, and the ordering of multiple messages.

Although not shown here, this fluent interface is also supported by spies, off of have_received(...).

Something went wrong with that request. Please try again.