aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2011-06-10 02:48:44 -0400
committerNeeraj Singh <neerajdotname@gmail.com>2011-06-10 02:48:44 -0400
commit06d772c0cea49d91eaa273469333430b317583bd (patch)
tree7b105292ff0ff4bc6b0d1c292f22aca9d4a7e21b /actionpack/test
parentfdbe8eb08cd227cc57315134e4e253818ccf1b67 (diff)
downloadrails-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.rb1
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