spec/support/mailbox_examples.rb in celluloid-0.12.0.pre3 vs spec/support/mailbox_examples.rb in celluloid-0.12.0
- old
+ new
@@ -33,8 +33,8 @@
it "waits for a given timeout interval" do
interval = 0.1
started_at = Time.now
subject.receive(interval) { false }
- (Time.now - started_at).should be_within(TIMER_QUANTUM).of interval
+ (Time.now - started_at).should be_within(Celluloid::TIMER_QUANTUM).of interval
end
end