spec/integration/sidekiq60_spec.rb in loga-2.8.0 vs spec/integration/sidekiq60_spec.rb in loga-2.8.1

- old
+ new

@@ -29,12 +29,12 @@ attr_reader :latest_error attr_reader :mutex attr_reader :cond def initialize - @mutex = ::Mutex.new - @cond = ::ConditionVariable.new + @mutex = Mutex.new + @cond = ConditionVariable.new end def processor_died(_inst, err) @latest_error = err @mutex.synchronize do @@ -101,10 +101,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)