spec/shared/group_examples.rb in celluloid-0.17.0 vs spec/shared/group_examples.rb in celluloid-0.17.1
- old
+ new
@@ -23,10 +23,10 @@
expect(subject.get { queue.pop }).to be_a Thread
queue << nil
wait_until_idle
end
- [StandardError, Exception].each do |exception_class|
+ [::StandardError, ::Exception].each do |exception_class|
context "with an #{exception_class} in the thread" do
before do
@wait_queue = Queue.new # doesn't work if in a let()
allow(logger).to receive(:crash)