提交 6680ee94 编写于 作者: Y Yves Senn

Merge pull request #15548 from zuhao/refactor_actionmailer_i18n_with_controller_test

Restore I18n.locale to default after test.
......@@ -32,6 +32,10 @@ def app
Routes
end
teardown do
I18n.locale = I18n.default_locale
end
def test_send_mail
with_translation 'de', email_subject: '[Anmeldung] Willkommen' do
get '/test/send_mail'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册