test/context_forwarding_test.rb in surrounded-0.9.11 vs test/context_forwarding_test.rb in surrounded-1.0.0
- old
+ new
@@ -36,10 +36,10 @@
end
describe Surrounded::Context, 'forwarding triggers' do
let(:user){ User.new("Jim") }
let(:other_user){ User.new("Guille") }
- let(:context){ Sending.new(user, other_user) }
+ let(:context){ Sending.new(one: user, two: other_user) }
it 'forwards multiple configured instance methods as triggers' do
assert_equal 'hello', context.hello
assert_equal 'goodbye', context.goodbye
end
\ No newline at end of file