Sha256: 5e3305f1e4c78b35804ee4ff725043dcb291071fffc1650b728e53d08a63a77d
Contents?: true
Size: 269 Bytes
Versions: 11
Compression:
Stored size: 269 Bytes
Contents
FactoryBot.define do factory :taxon_image, class: Spree::TaxonImage do before(:create) do |taxon_image| taxon_image.attachment.attach(io: File.new(Spree::Core::Engine.root + 'spec/fixtures/thinking-cat.jpg'), filename: 'thinking-cat.jpg') end end end
Version data entries
11 entries across 11 versions & 1 rubygems