mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +00: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:
parent
1856a025bc
commit
151d0703f9
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user