spec/integration/sidekiq65_spec.rb in loga-2.8.0 vs spec/integration/sidekiq65_spec.rb in loga-2.8.1
- old
+ new
@@ -73,10 +73,10 @@
last_element = JSON.parse(Redis.current.lpop('queue:default'))
aggregate_failures do
expect(last_element['class']).to eq 'MySidekiqWorker'
expect(last_element['args']).to eq ['Bob']
- expect(last_element['retry']).to eq true
+ expect(last_element['retry']).to be true
expect(last_element['queue']).to eq 'default'
end
end
def test_log_from_worker(json_line)