Sha256: 533d63d70a036d4276e22b3bfce7625ff785cfe6621664875ed314ecf7abc96a
Contents?: true
Size: 296 Bytes
Versions: 22
Compression:
Stored size: 296 Bytes
Contents
FactoryBot.define do factory :icon, class: Spree::Icon do before(:create) do |icon| if icon.respond_to? :attachment icon.attachment.attach(io: File.new(Spree::Core::Engine.root + 'spec/fixtures' + 'thinking-cat.jpg'), filename: 'thinking-cat.jpg') end end end end
Version data entries
22 entries across 22 versions & 1 rubygems