test/override_methods_test.rb in surrounded-0.9.11 vs test/override_methods_test.rb in surrounded-1.0.0

- old
+ new

@@ -47,10 +47,10 @@ describe Surrounded::Context, 'custom role application' do let(:user){ User.new('Jim') } let(:other){ User.new('Amy') } - let(:context){ PrependedRoles.new(user, other) } + let(:context){ PrependedRoles.new(user: user, other: other) } it 'allows you to override existing methods on a role player' do assert_equal "Not what you thought, Jim", context.get_name assert_equal "Jim", user.name end \ No newline at end of file