Remove some unnecessary calls to clear the mail queue
These were not needed at the end of most tests for quite some time, since rails clears them by default for controller and integration tests, and also no longer required in system tests after #5691
This commit is contained in:
parent
07965246f8
commit
31805df53f
11 changed files with 1 additions and 72 deletions
|
@ -121,7 +121,6 @@ class AccountsControllerTest < ActionDispatch::IntegrationTest
|
|||
email = ActionMailer::Base.deliveries.first
|
||||
assert_equal 1, email.to.count
|
||||
assert_equal user.new_email, email.to.first
|
||||
ActionMailer::Base.deliveries.clear
|
||||
end
|
||||
|
||||
def test_private_account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue