diff options
author | José Valim <jose.valim@gmail.com> | 2010-03-11 12:45:05 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-11 13:23:14 +0100 |
commit | 6c027443b044276fd2a85b387b67a8dee940b320 (patch) | |
tree | 693f8b6c0b8cb89f82f0e4376d53e21cd551fec1 /actionpack/test/controller/new_base/render_rjs_test.rb | |
parent | 073852dff0b48296a9a184f94e722183334f3c4c (diff) | |
download | rails-6c027443b044276fd2a85b387b67a8dee940b320.tar.gz rails-6c027443b044276fd2a85b387b67a8dee940b320.tar.bz2 rails-6c027443b044276fd2a85b387b67a8dee940b320.zip |
Add tests for lookup context.
Diffstat (limited to 'actionpack/test/controller/new_base/render_rjs_test.rb')
-rw-r--r-- | actionpack/test/controller/new_base/render_rjs_test.rb | 2 |
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 |