Sha256: 10077cf6503c9acf84dcd0c3bb2a5779477d1557e01ce68632d64e34d4c4c3e2
Contents?: true
Size: 372 Bytes
Versions: 3
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true require 'spree/testing_support/factories/taxonomy_factory' FactoryBot.define do factory :taxon, class: 'Spree::Taxon' do name { 'Ruby on Rails' } taxonomy parent_id { nil } trait :with_icon do icon { Spree::Core::Engine.root.join('lib', 'spree', 'testing_support', 'fixtures', 'blank.jpg').open } end end end
Version data entries
3 entries across 3 versions & 1 rubygems