spec/cucumber/pro/web_socket/worker_spec.rb in cucumber-pro-0.0.12 vs spec/cucumber/pro/web_socket/worker_spec.rb in cucumber-pro-0.0.13
- old
+ new
@@ -15,10 +15,10 @@
it "closes once all messages have been acknowledged (but not before)" do
worker.send(good_data)
worker.close
eventually do
- socket.data.last.should == good_data
+ expect(socket.data.last).to eq good_data
end
eventually do
expect( worker ).to_not be_closed
end
socket.send_ack