aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base/render_rjs_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/new_base/render_rjs_test.rb')
-rw-r--r--actionpack/test/controller/new_base/render_rjs_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/new_base/render_rjs_test.rb b/actionpack/test/controller/new_base/render_rjs_test.rb
index 8c47b38ab6..f4516ade63 100644
--- a/actionpack/test/controller/new_base/render_rjs_test.rb
+++ b/actionpack/test/controller/new_base/render_rjs_test.rb
@@ -17,7 +17,7 @@ module RenderRjs
end
def index_locale
- old_locale, I18n.locale = I18n.locale, :da
+ self.locale = :da
end
end