Sha256: e55e7c976d671d7f797e7672210a2721ff16592d3b07d2f50ed56addfd0a7daa

Contents?: true

Size: 184 Bytes

Versions: 4

Compression:

Stored size: 184 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :option_type, class: 'Spree::OptionType' do
    sequence(:name) { |n| "foo-size-#{n}" }
    presentation 'Size'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_core-2.6.2 lib/spree/testing_support/factories/option_type_factory.rb
solidus_core-2.6.1 lib/spree/testing_support/factories/option_type_factory.rb
solidus_core-2.6.0 lib/spree/testing_support/factories/option_type_factory.rb
solidus_core-2.6.0.rc1 lib/spree/testing_support/factories/option_type_factory.rb