examples/rr/double/double_reset_example.rb in rr-0.1.15 vs examples/rr/double/double_reset_example.rb in rr-0.2.1
- old
+ new
@@ -53,17 +53,9 @@
it "rebind original method" do
@double.reset
@object.methods.should include(@method_name.to_s)
@object.foobar.should == :original_foobar
end
-
- it "cleans up by removing the __rr__original_method" do
- @double.bind
- @object.methods.should include("__rr__foobar")
-
- @double.reset
- @object.methods.should_not include("__rr__foobar")
- end
end
describe Double, "#reset when method with block exists" do
it_should_behave_like "RR::Double#reset"