aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/lookup_context_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-01-19 23:42:10 +0100
committerJosé Valim <jose.valim@gmail.com>2011-01-19 23:42:10 +0100
commit262b2ea8cda20999ddf8c4bf13b7a70453e996d2 (patch)
treee755f0cca04acabd901abe681d1189870570cf0c /actionpack/test/template/lookup_context_test.rb
parentb247f3944282fb22c68fd4f9248a16fcda63b186 (diff)
downloadrails-262b2ea8cda20999ddf8c4bf13b7a70453e996d2.tar.gz
rails-262b2ea8cda20999ddf8c4bf13b7a70453e996d2.tar.bz2
rails-262b2ea8cda20999ddf8c4bf13b7a70453e996d2.zip
Solve SystemStackError when changing locale inside ActionMailer [#5329 state:resolved]
Diffstat (limited to 'actionpack/test/template/lookup_context_test.rb')
-rw-r--r--actionpack/test/template/lookup_context_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/lookup_context_test.rb b/actionpack/test/template/lookup_context_test.rb
index f7a684779c..f3b1335000 100644
--- a/actionpack/test/template/lookup_context_test.rb
+++ b/actionpack/test/template/lookup_context_test.rb
@@ -73,7 +73,7 @@ class LookupContextTest < ActiveSupport::TestCase
assert_equal :pt, I18n.locale
assert_equal :pt, @lookup_context.locale
ensure
- I18n.config = I18n.config.i18n_config
+ I18n.config = I18n.config.original_config
end
assert_equal :pt, I18n.locale