diff options
Diffstat (limited to 'test/unit/custom_field_test.rb')
-rw-r--r-- | test/unit/custom_field_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/custom_field_test.rb b/test/unit/custom_field_test.rb index e0f08f6c0..d830677c2 100644 --- a/test/unit/custom_field_test.rb +++ b/test/unit/custom_field_test.rb @@ -107,7 +107,7 @@ class CustomFieldTest < ActiveSupport::TestCase def test_possible_values_should_return_utf8_encoded_strings field = CustomField.new - s = "Value".force_encoding('BINARY') + s = (+"Value").force_encoding('BINARY') field.possible_values = s assert_equal [s], field.possible_values assert_equal 'UTF-8', field.possible_values.first.encoding.name |