Browse files

Merge pull request #145 from pjellis/patch-1

[typo] underscore-ize 'ducktype' in
  • Loading branch information...
2 parents ea1053b + 5edfe94 commit 4b70b4503df8d85a81fe7485997546e3394be4af @dchelimsky dchelimsky committed May 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -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

0 comments on commit 4b70b45

Please sign in to comment.