Sha256: 9db352607474a2ece09fe7e307022b5bca8034cf6f36abbdb4564402b02bcf15

Contents?: true

Size: 528 Bytes

Versions: 48

Compression:

Stored size: 528 Bytes

Contents

require 'test_helper'

class ActionMailerBaseExtensionsTest < ActiveSupport::TestCase

  class TestMailer < ActionMailer::Base

  end

  test 'should have methods defined' do
    assert TestMailer.respond_to?(:default_hostname)
    assert TestMailer.respond_to?(:default_sender)
    assert TestMailer.respond_to?(:default_recipient)
  end

  test 'should have defaults set' do
    assert_equal TestMailer.default_sender, TestMailer.default[:from]
    assert_equal TestMailer.default_recipient, TestMailer.default[:to]
  end

end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
incline-0.3.14 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.13 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.12 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.11 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.10 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.9 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.8 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.7 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.6 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.5 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.4 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.3 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.2 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.1 test/extensions/action_mailer_base_extensions_test.rb
incline-0.3.0 test/extensions/action_mailer_base_extensions_test.rb
incline-0.2.36 test/extensions/action_mailer_base_extensions_test.rb
incline-0.2.35 test/extensions/action_mailer_base_extensions_test.rb
incline-0.2.34 test/extensions/action_mailer_base_extensions_test.rb
incline-0.2.28 test/extensions/action_mailer_base_extensions_test.rb
incline-0.2.27 test/extensions/action_mailer_base_extensions_test.rb