Skip to content

Commit

Permalink
Raise on destroy failure
Browse files Browse the repository at this point in the history
  • Loading branch information
gremerritt committed Sep 21, 2023
1 parent 0d0ac0a commit 4fda31a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/delayed/job_groups/job_group_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@

shared_context "complete job and check job group complete" do
before do
job.destroy
job.destroy!
job_group.check_for_completion
end
end
Expand Down Expand Up @@ -175,7 +175,7 @@

shared_context "complete job and check job group complete" do
before do
job.destroy
job.destroy!
Delayed::JobGroups::JobGroup.check_for_completion(job_group.id)
end
end
Expand Down

0 comments on commit 4fda31a

Please sign in to comment.