From 06d772c0cea49d91eaa273469333430b317583bd Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Fri, 10 Jun 2011 02:48:44 -0400 Subject: add missing ensure --- actionpack/test/controller/content_type_test.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/test') 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 -- cgit v1.2.3