Skip to content

Commit 1e3ff27

Browse files
authored
Merge pull request #503 from alphagov/fix-warning-about-false-positives
Fix RSpec warning about false positives
2 parents 5a51cb7 + 4a5c94d commit 1e3ff27

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

spec/jobs/petition_signed_data_update_job_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ def running_the_job
2323
end
2424

2525
it 'does not raise the deserialization problem (which would cause the worker to requeue the job)' do
26-
expect {
27-
running_the_job
28-
}.not_to raise_error(ActiveJob::DeserializationError)
26+
expect { running_the_job }.not_to raise_error
2927
end
3028
end
3129

0 commit comments

Comments
 (0)