diff options
Diffstat (limited to 'test/unit/attachment_test.rb')
-rw-r--r-- | test/unit/attachment_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb index 5d1aaf1d5..2e2089f68 100644 --- a/test/unit/attachment_test.rb +++ b/test/unit/attachment_test.rb @@ -408,7 +408,7 @@ class AttachmentTest < ActiveSupport::TestCase end def test_latest_attach_should_not_error_with_string_with_invalid_encoding - string = "width:50\xFE-Image.jpg".force_encoding('UTF-8') + string = "width:50\xFE-Image.jpg" assert_equal false, string.valid_encoding? Attachment.latest_attach(Attachment.limit(2).to_a, string) |