Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
Slight wording tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Oct 24, 2022
1 parent 313f00e commit d2c4bc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions features/configuring_responses/mixed_responses.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Feature: Mixed responses
callables to have different behavior for consecutive calls. The final callable will continue to be
called if the message is received additional times.

Note: The invoked callable will be invoked with any arguments, so it is recommended to use a `lambda`
or similar with the same arity as your method but you can use a `proc` if you do not care (e.g. when raising).
Note: The invoked callable will be invoked with the calls arguments, so it is recommended to use a
`lambda` or similar with the same arity as your method but you can use a `proc` if you do not care
about arity (e.g. when raising).

Scenario: Mixed responses
Given a file named "raises_and_then_returns.rb" with:
Expand Down

0 comments on commit d2c4bc4

Please sign in to comment.