Skip to content

Commit

Permalink
Uncomment spec
Browse files Browse the repository at this point in the history
  • Loading branch information
avelicka committed Nov 12, 2024
1 parent 5809efb commit a9e4239
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec/lib/chained_job/process_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@
let(:handle_retry?) { true }

it 'pushes argument back and raises error' do
# Temporarily commenting this out
# expect(ChainedJob.redis)
# .to receive(:call)
# .with(:rpush, redis_key, ChainedJob::Helpers.serialize([101])).and_call_original
expect(ChainedJob.redis)
.to receive(:call)
.with(:rpush, redis_key, ChainedJob::Helpers.serialize([101])).and_call_original

# subject
expect { subject }.to raise_error('Runtime error')
Expand Down

0 comments on commit a9e4239

Please sign in to comment.