From 1d888d465b27e6257ebd3af9b4e73e9f49a45de1 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sat, 21 Aug 2010 22:36:51 -0300 Subject: Move encoding settings for testing purposes to abstract_unit file --- actionpack/test/template/template_test.rb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'actionpack/test/template/template_test.rb') diff --git a/actionpack/test/template/template_test.rb b/actionpack/test/template/template_test.rb index 18e0e83ec3..fbc9350c69 100644 --- a/actionpack/test/template/template_test.rb +++ b/actionpack/test/template/template_test.rb @@ -1,12 +1,5 @@ require "abstract_unit" -if "ruby".encoding_aware? - # These are the normal settings that will be set up by Railties - # TODO: Have these tests support other combinations of these values - Encoding.default_internal = "UTF-8" - Encoding.default_external = "UTF-8" -end - class TestERBTemplate < ActiveSupport::TestCase ERBHandler = ActionView::Template::Handlers::ERB @@ -136,4 +129,4 @@ class TestERBTemplate < ActiveSupport::TestCase Encoding.default_external = old end end -end \ No newline at end of file +end -- cgit v1.2.3