Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoyoussef committed May 3, 2022
1 parent b1afdbf commit 2b027be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tasks/check_force_delete_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ def test_enque_force_delete_when_three_invalid_records_by_mx
run_task

assert_enqueued_jobs 1
assert_enqueued_with(job: CheckForceDeleteJob, args: [@contact.id])
assert_enqueued_with(job: CheckForceDeleteJob, args: [[@contact.id]])
end

def test_enque_force_delete_when_invalid_record_by_regex
@invalid_contact.verify_email
run_task

assert_enqueued_jobs 1
assert_enqueued_with(job: CheckForceDeleteJob, args: [@invalid_contact.id])
assert_enqueued_with(job: CheckForceDeleteJob, args: [[@invalid_contact.id]])
end

private
Expand Down

0 comments on commit 2b027be

Please sign in to comment.