mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user