summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/setting_test.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/unit/setting_test.rb b/test/unit/setting_test.rb
index d2dee6d6b..46383e867 100644
--- a/test/unit/setting_test.rb
+++ b/test/unit/setting_test.rb
@@ -1,5 +1,3 @@
-# encoding: utf-8
-#
# Redmine - project management software
# Copyright (C) 2006-2015 Jean-Philippe Lang
#
@@ -103,18 +101,4 @@ class SettingTest < ActiveSupport::TestCase
assert_equal [10, 25, 50], Setting.per_page_options_array
end
end
-
- def test_serialized_setting_should_be_loaded_as_utf8_encoded_strings
- scm = 'исправлено'
- scm.force_encoding('BINARY')
- Setting.enabled_scm = [scm]
- Setting.clear_cache
-
- s = Setting.enabled_scm
- assert_equal ['исправлено'], s
- assert_equal 'UTF-8', s.first.encoding.name
- ensure
- Setting.where(:name => 'enabled_scm').delete_all
- Setting.clear_cache
- end
end