Skip to content

Commit

Permalink
Typo in Method Stubs README section
Browse files Browse the repository at this point in the history
s/stub/double/g for the example for "This is particularly nice when providing a list of test doubles to a method
that iterates through them."
  • Loading branch information
danfinnie committed May 18, 2013
1 parent 3d55348 commit 782fc0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -50,7 +50,7 @@ This is particularly nice when providing a list of test doubles to a method
that iterates through them:

```ruby
order.calculate_total_price(stub(:price => 1.99),stub(:price => 2.99))
order.calculate_total_price(double(:price => 1.99),double(:price => 2.99))
```

## Consecutive return values
Expand Down

0 comments on commit 782fc0c

Please sign in to comment.