Tests for asset upload for filenames with special characters

pull/13601/head
Javier Torres 7 years ago
parent 487a6fe434
commit 1d5b4b8d1d

@ -103,6 +103,10 @@ describe Asset do
end
end
it 'should import assets with spaces in their name' do
asset = Asset.create user_id: @user.id, asset_file: (Rails.root + 'spec/support/data/cartofante blue.png').to_s
File.exists?(local_path(asset)).should be_true
end
end
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Loading…
Cancel
Save