test/example_proxy_test.rb in surrounded-0.8.4 vs test/example_proxy_test.rb in surrounded-0.9.0

- old
+ new

@@ -1,14 +1,11 @@ require 'test_helper' -if test_rebinding_methods? - # If you want to use wrappers, here's how you could class ProxyContext extend Surrounded::Context - apply_roles_on(:trigger) initialize(:admin, :task) interface :admin do def some_admin_method "hello from #{name}, the admin interface!" @@ -52,7 +49,5 @@ err = ->{ context.admin_missing_method }.must_raise(NoMethodError) assert_match 'ProxyUser name="Jim"', err.message end end - -end \ No newline at end of file