diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2011-06-10 02:48:44 -0400 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2011-06-10 02:48:44 -0400 |
commit | 06d772c0cea49d91eaa273469333430b317583bd (patch) | |
tree | 7b105292ff0ff4bc6b0d1c292f22aca9d4a7e21b /actionpack/test | |
parent | fdbe8eb08cd227cc57315134e4e253818ccf1b67 (diff) | |
download | rails-06d772c0cea49d91eaa273469333430b317583bd.tar.gz rails-06d772c0cea49d91eaa273469333430b317583bd.tar.bz2 rails-06d772c0cea49d91eaa273469333430b317583bd.zip |
add missing ensure
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/content_type_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/content_type_test.rb b/actionpack/test/controller/content_type_test.rb index b12c798302..d51882066d 100644 --- a/actionpack/test/controller/content_type_test.rb +++ b/actionpack/test/controller/content_type_test.rb @@ -74,6 +74,7 @@ class ContentTypeTest < ActionController::TestCase get :render_defaults assert_equal "utf-16", @response.charset assert_equal Mime::HTML, @response.content_type + ensure OldContentTypeController.default_charset = "utf-8" end |