Browse files


  • Loading branch information...
1 parent ea1053b commit 5edfe94d16fb19b26cc05b200718f9e43e25ea90 @pje pje 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 5edfe94

Please sign in to comment.