spec/scheduler_spec.rb in rufus-scheduler-3.0.8 vs spec/scheduler_spec.rb in rufus-scheduler-3.0.9
- old
+ new
@@ -538,10 +538,10 @@
end
@scheduler.in '0.2s', :tag => 't1' do
sleep 3
end
- sleep 0.4
+ sleep 0.49
expect(@scheduler.running_jobs(:tag => 't0').map(&:original)).to eq(
%w[ 0.1s ]
)
expect(@scheduler.running_jobs(:tag => 't1').map(&:original)).to eq(