mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
add missing ensure
This commit is contained in:
parent
fdbe8eb08c
commit
06d772c0ce
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue