remove spaces inside {} of test/unit/attachment_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19915 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-07-19 14:05:45 +00:00
parent 1856a025bc
commit 151d0703f9

View File

@@ -364,7 +364,7 @@ class AttachmentTest < ActiveSupport::TestCase
@project = Project.find(1)
attachment = Attachment.create!(:file => uploaded_test_file("testfile.txt", ""), :author_id => 1, :created_on => 2.days.ago)
assert_equal 'text/plain', attachment.content_type
Attachment.attach_files(@project, { '1' => {'token' => attachment.token } })
Attachment.attach_files(@project, {'1' => {'token' => attachment.token}})
attachment.reload
assert_equal 'text/plain', attachment.content_type
end