GeoRSS aggregator and Layar augmented reality server
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

13 行
345 B

  1. require 'test_helper'
  2. class UserMailerTest < ActionMailer::TestCase
  3. test "reset_password_email" do
  4. mail = UserMailer.reset_password_email
  5. assert_equal "Reset password email", mail.subject
  6. assert_equal ["to@example.org"], mail.to
  7. assert_equal ["from@example.com"], mail.from
  8. assert_match "Hi", mail.body.encoded
  9. end
  10. end