test/example_threaded_test.rb in surrounded-0.9.11 vs test/example_threaded_test.rb in surrounded-1.0.0
- old
+ new
@@ -52,10 +52,10 @@
let(:greeter){ jim }
let(:members){ [amy, guille, jason, dave] }
it 'works in multi-threaded environments' do
- meeting = ThreadedContext.new(jim, members)
+ meeting = ThreadedContext.new(leader: jim, members: members)
result = meeting.meet
assert_includes result, 'Hello everyone. I am Jim'
assert_includes result, 'Hello Jim, I am Amy'
\ No newline at end of file