Permalink
Browse files

Clarify example

  • Loading branch information...
henrik committed Mar 1, 2017
1 parent 0e3d0b7 commit 2a386497507a8e94447ddfc0ee781aabcb12ce5e
Showing with 1 addition and 1 deletion.
  1. +1 −1 styleguide/README.md
View
@@ -774,7 +774,7 @@ Further reading: ["How to make negative assertions in tests"](http://thepugautom
#### Prefer `to have_received` over `to receive`.
Do:
Assuming a `Greeter.say_hello` that calls `say("hello")`, do:
``` ruby
allow(Greeter).to receive(:say)

0 comments on commit 2a38649

Please sign in to comment.