mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Privatize unneededly protected methods in Action Mailer tests
This commit is contained in:
parent
f2dfd5c6fd
commit
8e1da1188f
3 changed files with 3 additions and 3 deletions
|
@ -829,7 +829,7 @@ class BaseTest < ActiveSupport::TestCase
|
|||
assert_equal "special indeed!", mail["X-Special-Header"].to_s
|
||||
end
|
||||
|
||||
protected
|
||||
private
|
||||
|
||||
# Execute the block setting the given values and restoring old values after
|
||||
# the block is executed.
|
||||
|
|
|
@ -66,7 +66,7 @@ class ActionMailerI18nWithControllerTest < ActionDispatch::IntegrationTest
|
|||
end
|
||||
end
|
||||
|
||||
protected
|
||||
private
|
||||
|
||||
def with_translation(locale, data)
|
||||
I18n.backend.store_translations(locale, data)
|
||||
|
|
|
@ -65,7 +65,7 @@ The second
|
|||
end
|
||||
end
|
||||
|
||||
protected
|
||||
private
|
||||
|
||||
def mail_with_defaults(&block)
|
||||
mail(to: "test@localhost", from: "tester@example.com",
|
||||
|
|
Loading…
Reference in a new issue