rails--rails/actionmailer/test
Olek Janiszewski 57bfbc249e Allow passing interpolations to `#default_i18n_subject`, e.g.:
# config/locales/en.yml
    en:
      user_mailer:
        welcome:
          subject: 'Hello, %{username}'

    # app/mailers/user_mailer.rb
    class UserMailer < ActionMailer::Base
      def welcome(user)
        mail(subject: default_i18n_subject(username: user.name))
      end
    end
2013-01-24 15:29:24 +01:00
..
fixtures use _action callbacks in actionmailer 2012-12-08 10:21:20 -05:00
mailers Allow passing interpolations to `#default_i18n_subject`, e.g.: 2013-01-24 15:29:24 +01:00
abstract_unit.rb Add active_support/testing/autorun 2012-12-31 13:57:24 -03:00
asset_host_test.rb Update actionmailer with new hash syntax. 2012-10-07 21:54:14 +04:00
base_test.rb Allow passing interpolations to `#default_i18n_subject`, e.g.: 2013-01-24 15:29:24 +01:00
delivery_methods_test.rb Update actionmailer with new hash syntax. 2012-10-07 21:54:14 +04:00
i18n_with_controller_test.rb Update actionmailer with new hash syntax. 2012-10-07 21:54:14 +04:00
log_subscriber_test.rb
mail_helper_test.rb Update actionmailer with new hash syntax. 2012-10-07 21:54:14 +04:00
mail_layout_test.rb Update actionmailer with new hash syntax. 2012-10-07 21:54:14 +04:00
test_helper_test.rb Update actionmailer with new hash syntax. 2012-10-07 21:54:14 +04:00
test_test.rb Remove unneeded tests 2012-12-31 13:57:24 -03:00
url_test.rb Update actionmailer with new hash syntax. 2012-10-07 21:54:14 +04:00