simplify test
This commit is contained in:
parent
65d8e94ed9
commit
a5f8cd9d32
|
@ -11,8 +11,7 @@ class MailerTest < ActionMailer::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
Devise.mailer = TestMailer
|
||||
create_user
|
||||
TestMailer.confirmation_instructions(create_user, "confirmation-token").deliver_now
|
||||
mail = ActionMailer::Base.deliveries.first
|
||||
|
||||
assert mail.content_transfer_encoding, "7bit"
|
||||
|
|
Loading…
Reference in New Issue