spec/lib/elasticity/looper_spec.rb in elasticity-5.0.3 vs spec/lib/elasticity/looper_spec.rb in elasticity-6.0
- old
+ new
@@ -75,10 +75,10 @@
context 'when you should not wait' do
it 'does not communicate that waiting is about to occur' do
client = double(:client, on_retry_check: false, on_wait: nil)
- client.should_not receive(:on_wait)
+ client.should_not_receive(:on_wait)
l = Elasticity::Looper.new(client.method(:on_retry_check), client.method(:on_wait))
l.go
end
end