Sha256: 918ed858b6fb95866e8533c36a2a8f2fac8bbff97198e1160f52d0c7e0a5d887

Contents?: true

Size: 353 Bytes

Versions: 49

Compression:

Stored size: 353 Bytes

Contents

require 'test_helper'

module Wbase
  class PasswordResetMailerTest < ActionMailer::TestCase
    test "reset" do
      mail = PasswordResetMailer.reset
      assert_equal "Reset", mail.subject
      assert_equal ["to@example.org"], mail.to
      assert_equal ["from@example.com"], mail.from
      assert_match "Hi", mail.body.encoded
    end

  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
wbase-0.3.20 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.19 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.18 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.17 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.16 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.15 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.14 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.13 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.12 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.11 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.10 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.9 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.8 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.7 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.6 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.5 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.4 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.3 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.2 test/mailers/wbase/password_reset_mailer_test.rb
wbase-0.3.1 test/mailers/wbase/password_reset_mailer_test.rb