Skip to content

Commit

Permalink
Another attempt to fix #719
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Nov 7, 2022
1 parent 22f39a1 commit 665934e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/mailers/subscription_mailer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 665934e

Please sign in to comment.