diff options
author | Zuhao Wan <wanzuhao@gmail.com> | 2014-06-07 00:52:24 +0800 |
---|---|---|
committer | Zuhao Wan <wanzuhao@gmail.com> | 2014-06-07 00:52:24 +0800 |
commit | 573a8421e7e5937c7afbd4b9140136e444db645a (patch) | |
tree | 15a7a0164bd967195114f59ff638f9005d426c2c /activerecord/lib/active_record.rb | |
parent | 0502189b504640a95a4729fac5c6a41c27de960f (diff) | |
download | rails-573a8421e7e5937c7afbd4b9140136e444db645a.tar.gz rails-573a8421e7e5937c7afbd4b9140136e444db645a.tar.bz2 rails-573a8421e7e5937c7afbd4b9140136e444db645a.zip |
Restore I18n.locale to default after test.
If i18n_with_controller_test.rb were to run first, the I18n.locale will
be changed to :de, and the following tests in base_test.rb will fail:
"subject gets default from I18n"
“default subject can have interpolations”
"translations are scoped properly"
"implicit multipart with default locale"
Diffstat (limited to 'activerecord/lib/active_record.rb')
0 files changed, 0 insertions, 0 deletions