spec/custom_locks_spec.rb in rufus-scheduler-3.0.7 vs spec/custom_locks_spec.rb in rufus-scheduler-3.0.8
- old
+ new
@@ -37,11 +37,11 @@
s.in('0s') { count = count + 1 }
sleep 0.7
- count.should == 0
- s.counter.should == 1
+ expect(count).to eq(0)
+ expect(s.counter).to eq(1)
end
end
end