Skip to content

Commit 5d0b0fc

Browse files
committed
Generate the docs.
1 parent 23ca27c commit 5d0b0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manual/cops_rspec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,7 @@ allow(foo).to receive_message_chain(:bar, :baz).and_return(42)
18461846

18471847
# better
18481848
thing = Thing.new(baz: 42)
1849-
allow(foo).to receive(bar: thing)
1849+
allow(foo).to receive(:bar).and_return(thing)
18501850
```
18511851

18521852
### References

0 commit comments

Comments
 (0)