diff options
Diffstat (limited to 'test/unit/jobs/destroy_projects_job_test.rb')
-rw-r--r-- | test/unit/jobs/destroy_projects_job_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/jobs/destroy_projects_job_test.rb b/test/unit/jobs/destroy_projects_job_test.rb index 9e2f3449e..b6809bb51 100644 --- a/test/unit/jobs/destroy_projects_job_test.rb +++ b/test/unit/jobs/destroy_projects_job_test.rb @@ -58,7 +58,7 @@ class DestroyProjectsJobTest < ActiveJob::TestCase assert_match /deleted successfully/, m.text_part.to_s else assert_enqueued_with( - job: ActionMailer::MailDeliveryJob, + job: Mailer::DeliveryJob, args: ->(job_args){ job_args[1] == 'security_notification' && job_args[3].to_s.include?("mail_destroy_project_with_subprojects_successful") |