Skip to content

Commit 9a53b2c

Browse files
committed
Fix test
1 parent a48974e commit 9a53b2c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/models/solid_queue/claimed_execution_test.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ class SolidQueue::ClaimedExecutionTest < ActiveSupport::TestCase
6666
claimed_execution = prepare_and_claim_job AddToBufferJob.perform_later(42)
6767
job = claimed_execution.job
6868
assert_difference -> { SolidQueue::ClaimedExecution.count } => -1, -> { SolidQueue::FailedExecution.count } => 1 do
69-
assert_raises RuntimeError do
70-
claimed_execution.failed_with(RuntimeError.new)
71-
end
69+
claimed_execution.failed_with(RuntimeError.new, reraise: false)
7270
end
7371

7472
assert job.reload.failed?

0 commit comments

Comments
 (0)