Sha256: 759fb67811c00e5401a6c3ec8c8ea8110c05313a5b65578cc8e02326391cb8d2

Contents?: true

Size: 360 Bytes

Versions: 26

Compression:

Stored size: 360 Bytes

Contents

FactoryBot.define do
  factory :asset, class: Spree::Asset do
    viewable_type {}
    viewable_id {}
    attachment_width { 340 }
    attachment_height { 280 }
    attachment_file_size { 128 }
    position { 1 }
    attachment_content_type { '.jpg' }
    attachment_file_name { 'attachment.jpg' }
    type {}
    attachment_updated_at {}
    alt {}
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
spree_core-4.5.2 lib/spree/testing_support/factories/asset_factory.rb
spree_core-4.5.1 lib/spree/testing_support/factories/asset_factory.rb
spree_core-4.5.0 lib/spree/testing_support/factories/asset_factory.rb
spree_core-4.4.0 lib/spree/testing_support/factories/asset_factory.rb
spree_core-4.4.0.rc2 lib/spree/testing_support/factories/asset_factory.rb
spree_core-4.4.0.rc1 lib/spree/testing_support/factories/asset_factory.rb