diff options
author | Xu Pan <cqpanxu@gmail.com> | 2011-12-20 12:33:34 +0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-20 11:56:33 +0100 |
commit | 1897be9b50d92af6d352e1eeb85da2c03713baf3 (patch) | |
tree | 59a8eea3a2282e2c44ba1e069c5326a32d9639b3 /railties/test/application | |
parent | 5d913640bcb16c9b086a291c59483d308a62adff (diff) | |
download | rails-1897be9b50d92af6d352e1eeb85da2c03713baf3.tar.gz rails-1897be9b50d92af6d352e1eeb85da2c03713baf3.tar.bz2 rails-1897be9b50d92af6d352e1eeb85da2c03713baf3.zip |
don't encode an UTF-8 encoded template
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/middleware/exceptions_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/application/middleware/exceptions_test.rb b/railties/test/application/middleware/exceptions_test.rb index a9cde42be8..aedc4fe648 100644 --- a/railties/test/application/middleware/exceptions_test.rb +++ b/railties/test/application/middleware/exceptions_test.rb @@ -99,7 +99,7 @@ module ApplicationTests app_file 'app/views/foo/index.html.erb', <<-ERB <% raise 'boooom' %> - ✓ + ✓測試テスト시험 ERB app_file 'config/routes.rb', <<-RUBY @@ -110,6 +110,7 @@ module ApplicationTests post '/foo', :utf8 => '✓' assert_match(/boooom/, last_response.body) + assert_match(/測試テスト시험/, last_response.body) end end end |