提交 8e1da118 编写于 作者: A Akira Matsuda

Privatize unneededly protected methods in Action Mailer tests

上级 f2dfd5c6
......@@ -829,7 +829,7 @@ def a_callback
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 @@ def test_send_mail
end
end
protected
private
def with_translation(locale, data)
I18n.backend.store_translations(locale, data)
......
......@@ -65,7 +65,7 @@ def use_cache
end
end
protected
private
def mail_with_defaults(&block)
mail(to: "test@localhost", from: "tester@example.com",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册