test/test_helper.rb in surrounded-0.8.4 vs test/test_helper.rb in surrounded-0.9.0
- old
+ new
@@ -34,18 +34,5 @@
def regular_method_trigger
true
end
trigger :regular_method_trigger
end
-
-# This is a different implementation of module_method_rebinding?
-# created in order to check that the behavior of the code is correct.
-#
-# This method is used in tests and module_method_rebinding? is used
-# in the library code.
-def test_rebinding_methods?
- unbound = Enumerable.instance_method(:count)
- unbound.bind(Object.new)
- true
-rescue TypeError
- false
-end
\ No newline at end of file