From 665934e40c739693ca654e1f4fb27ec24ee8b967 Mon Sep 17 00:00:00 2001 From: Finn Bacall Date: Mon, 31 Oct 2022 16:18:15 +0000 Subject: [PATCH] Another attempt to fix #719 --- test/mailers/subscription_mailer_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/mailers/subscription_mailer_test.rb b/test/mailers/subscription_mailer_test.rb index 096a8202a..0e17e7a9d 100644 --- a/test/mailers/subscription_mailer_test.rb +++ b/test/mailers/subscription_mailer_test.rb @@ -10,6 +10,7 @@ class SubscriptionMailerTest < ActionMailer::TestCase Rails.application.routes.default_url_options = Rails.application.config.action_mailer.default_url_options # Avoids queued emails affecting `assert_email` counts. See: https://github.com/ElixirTeSS/TeSS/issues/719 perform_enqueued_jobs + ActionMailer::Base.deliveries.clear end teardown do