Make Devise::Mailer inherit from ApplicationMailer
This way we remove duplication in the `from:` proc, the helpers, and the methods we're about to write.
This commit is contained in:
@@ -18,7 +18,7 @@ describe DeviseMailer do
|
||||
|
||||
email = DeviseMailer.confirmation_instructions(create(:user), "ABC")
|
||||
|
||||
expect(email).to deliver_from "'New organization' <new@consul.dev>"
|
||||
expect(email).to deliver_from "New organization <new@consul.dev>"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user