spec/async/container/shared_examples.rb in async-container-0.16.3 vs spec/async/container/shared_examples.rb in async-container-0.16.4

- old
+ new

@@ -49,14 +49,14 @@ end describe '#sleep' do it "can sleep for a short time" do subject.spawn do - sleep(0.2) + sleep(0.2 * QUANTUM) raise "Boom" end - subject.sleep(0.1) + subject.sleep(0.1 * QUANTUM) expect(subject.statistics).to have_attributes(failures: 0) subject.wait expect(subject.statistics).to have_attributes(failures: 1)