README in rr-0.4.3 vs README in rr-0.4.4

- old
+ new

@@ -184,16 +184,41 @@ m.system("cd #{RAILS_ENV}") {true} m.system("rake foo:bar") {true} m.system("rake baz") {true} end +=== Wildcard matchers +==== anything + mock(object).foobar(1, anything) + object.foobar(1, :my_symbol) + +==== is_a + mock(object).foobar(is_a(Time)) + object.foobar(Time.now) + +==== numeric + mock(object).foobar(numeric) + object.foobar(99) + +==== numeric + mock(object).foobar(boolean) + object.foobar(false) + +==== duck_type + mock(object).foobar(duck_type(:walk, :talk)) + arg = Object.new + def arg.walk; 'waddle'; end + def arg.talk; 'quack'; end + object.foobar(arg) + == Special Thanks To With any development effort, there are countless people who have contributed to making it possible. We all are standing on the shoulders of giants. * Pivotal Labs for sponsoring RR development * Parker Thompson for pairing with me * Felix Morio for pairing with me * Jeff Whitmire for documentation suggestions +* Nick Kallen for documentation suggestion & bug reports * David Chelimsky for encouragement to make the RR framework, for developing the Rspec mock framework, and syntax ideas * Gerald Meszaros for his excellent book "xUnit Test Patterns" * Dan North for syntax ideas * Jim Weirich for developing Flexmock, the first Terse ruby mock framework