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

Commit 8f0d997

Browse files
committed
Slight wording tweak to feature text.
1 parent 485a266 commit 8f0d997

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/configuring_responses/mixed_responses.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Feature: Mixed responses
44
callables to have different behavior for consecutive calls. The final callable will continue to be
55
called if the message is received additional times.
66

7-
Note: The invoked callable will be supplied the calls arguments, including any blocks (so `yield`
8-
et al will be supported). It is recommended to use a `lambda` or similar with the same arity
9-
as your method but you can use a `proc` if you do not care about arity(e.g. when raising).
7+
Note: The invoked callable will be given the same arguments as the original call, which includes any blocks
8+
(meaning for example `yield` will be supported). It is recommended to use a `lambda` or similar with the same
9+
arity as your method but you can use a `proc` if you do not care about arity (e.g. when raising).
1010

1111
Scenario: Mixed responses
1212
Given a file named "raises_and_then_returns.rb" with:

0 commit comments

Comments
 (0)