spec/shared/group_examples.rb in celluloid-0.18.0.pre vs spec/shared/group_examples.rb in celluloid-0.18.0.pre2

- old
+ new

@@ -33,11 +33,11 @@ allow(logger).to receive(:crash) subject.get do busy_queue << nil @wait_queue.pop - fail exception_class, "Error" + raise exception_class, "Error" end wait_until_busy(busy_queue) end @@ -87,10 +87,10 @@ expect( subject.get do thread << Thread.current sleep - end, + end ).to be_a(Celluloid::Thread) thread.pop # wait for 3rd-party thread to get strated expect(subject.active?).to eq true