Skip to content

Commit

Permalink
:%s/ducktype/duck_type/g
Browse files Browse the repository at this point in the history
  • Loading branch information
pje committed May 31, 2012
1 parent ea1053b commit 5edfe94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -156,7 +156,7 @@ double.should_receive(:msg).with(1, kind_of(Numeric), "b") #2nd argument can any
double.should_receive(:msg).with(1, boolean(), "b") #2nd argument can true or false
double.should_receive(:msg).with(1, /abc/, "b") #2nd argument can be any String matching the submitted Regexp
double.should_receive(:msg).with(1, anything(), "b") #2nd argument can be anything at all
double.should_receive(:msg).with(1, ducktype(:abs, :div), "b")
double.should_receive(:msg).with(1, duck_type(:abs, :div), "b")
#2nd argument can be object that responds to #abs and #div
```

Expand Down

0 comments on commit 5edfe94

Please sign in to comment.