class Object

Public Instance Methods

fake_attachment() click to toggle source
# File lib/solidus_product_attachments/testing_support/support/assets.rb, line 1
def fake_attachment
  Rack::Test::UploadedFile.new(File.join(__dir__, '..', 'fixtures', 'test_file.pdf'), 'application/pdf')
end