Sha256: 126b6b0403dab2f682dba817a8bfd1babfb0d69a7182032e0b08e9da74040e64

Contents?: true

Size: 165 Bytes

Versions: 16

Compression:

Stored size: 165 Bytes

Contents

FactoryBot.define do
  factory :image, class: Spree::Image do
    attachment { File.new(Spree::Core::Engine.root + 'spec/fixtures' + 'thinking-cat.jpg') }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
spree_core-3.4.6 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.6.6 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.6.5 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.6.4 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.6.3 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.6.2 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.6.1 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.6.0 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.5.0 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.6.0.rc1 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.5.0.rc2 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.5.0.rc1 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.4.5 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.4.4 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.4.3 lib/spree/testing_support/factories/image_factory.rb
spree_core-3.4.2 lib/spree/testing_support/factories/image_factory.rb