diff --git a/features/configuring_responses/mixed_responses.feature b/features/configuring_responses/mixed_responses.feature index 89007e72c..5069cac1e 100644 --- a/features/configuring_responses/mixed_responses.feature +++ b/features/configuring_responses/mixed_responses.feature @@ -4,9 +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 supplied the calls arguments, including any blocks (so `yield` - et al will be supported). 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). + Note: The invoked callable will be given the same arguments as the original call, which includes any blocks + (meaning for example `yield` will be supported). 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: