ultravisor/spec/ultravisor/child/shutdown_spec.rb in service_skeleton-2.1.0 vs ultravisor/spec/ultravisor/child/shutdown_spec.rb in service_skeleton-2.2.0
- old
+ new
@@ -75,10 +75,10 @@
child.spawn(term_queue).shutdown
expect(@thread).to have_received(:join).with(0.05)
end
- context "the worker doesn't finish quickly enough" do
+ context "when the worker doesn't finish quickly enough" do
before(:each) do
allow(mock_instance).to receive(:run) { sleep 15 }
end
it "kills the thread" do