test/example_proxy_test.rb in surrounded-0.3.1 vs test/example_proxy_test.rb in surrounded-0.4.0
- old
+ new
@@ -1,8 +1,8 @@
require 'test_helper'
-if RedCard.check '2.0'
+if test_rebinding_methods?
# If you want to use wrappers, here's how you could
class ProxyContext
extend Surrounded::Context
@@ -50,6 +50,6 @@
assert_match 'ProxyUser name="Jim"', err.message
end
end
-end # RedCard.check '2.0'
+end
\ No newline at end of file