test/example_proxy_test.rb in surrounded-0.9.3 vs test/example_proxy_test.rb in surrounded-0.9.4
- old
+ new
@@ -63,10 +63,10 @@
end
it 'passes missing methods up the ancestry of the object' do
err = ->{ context.admin_missing_method }.must_raise(NoMethodError)
- assert_match /ProxyUser.*name="Jim"/, err.message
+ assert_match(/ProxyUser.*name="Jim"/, err.message)
end
it 'allows access to other objects in the context' do
assert_equal 'GTD', context.talking
end