mirror of
https://github.com/ryankazokas/turbovault-app.git
synced 2026-04-16 22:12:53 +00:00
12 lines
348 B
Ruby
12 lines
348 B
Ruby
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
|