Sha256: 9455275bca32d14677bc45aec4b1964858917d80839b8f96165bc6aed1c612ba

Contents?: true

Size: 180 Bytes

Versions: 4

Compression:

Stored size: 180 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :prototype, class: 'Spree::Prototype' do
    name { 'Baseball Cap' }
    properties { [create(:property)] }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_prototypes-1.6.0 lib/solidus_prototypes/testing_support/factories.rb
solidus_prototypes-1.5.1 lib/solidus_prototypes/testing_support/factories.rb
solidus_prototypes-1.5.0 lib/solidus_prototypes/testing_support/factories.rb
solidus_prototypes-1.4.0 lib/solidus_prototypes/testing_support/factories.rb