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