mirror of
https://github.com/ryankazokas/turbovault-app.git
synced 2026-04-17 05:32:52 +00:00
Moving to github
This commit is contained in:
11
test/mailers/password_reset_mailer_test.rb
Normal file
11
test/mailers/password_reset_mailer_test.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
require "test_helper"
|
||||
|
||||
class PasswordResetMailerTest < ActionMailer::TestCase
|
||||
test "reset_password" do
|
||||
mail = PasswordResetMailer.reset_password
|
||||
assert_equal "Reset password", mail.subject
|
||||
assert_equal [ "to@example.org" ], mail.to
|
||||
assert_equal [ "from@example.com" ], mail.from
|
||||
assert_match "Hi", mail.body.encoded
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user