test/example_proxy_test.rb in surrounded-1.0.0 vs test/example_proxy_test.rb in surrounded-1.1.0

- old
+ new

@@ -75,10 +75,10 @@ it 'forwards methods that the object responds to' do assert_equal 'Jim', context.admin_name end it 'passes missing methods up the ancestry of the object' do - err = ->{ context.admin_missing_method }.must_raise(NoMethodError) + err = _{ context.admin_missing_method }.must_raise(NoMethodError) assert_match(/ProxyUser.*name="Jim"/, err.message) end it 'fails access to other objects in the context' do