examples/rr/double_reset_example.rb in rr-0.1.2 vs examples/rr/double_reset_example.rb in rr-0.1.3
- old
+ new
@@ -3,13 +3,13 @@
module RR
describe Double, "#reset", :shared => true do
it "cleans up by removing the __rr__ method" do
@double.bind
- @object.methods.should include("__rr__foobar__rr__")
+ @object.methods.should include("__rr__foobar")
@double.reset
- @object.methods.should_not include("__rr__foobar__rr__")
+ @object.methods.should_not include("__rr__foobar")
end
end
describe Double, "#reset when method does not exist" do
it_should_behave_like "RR::Double#reset"