Permalink
Browse files

add missing ensure

  • Loading branch information...
1 parent fdbe8eb commit 06d772c0cea49d91eaa273469333430b317583bd Neeraj Singh committed Jun 10, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/test/controller/content_type_test.rb
@@ -74,6 +74,7 @@ def test_render_changed_charset_default
get :render_defaults
assert_equal "utf-16", @response.charset
assert_equal Mime::HTML, @response.content_type
+ ensure
OldContentTypeController.default_charset = "utf-8"
end

0 comments on commit 06d772c

Please sign in to comment.