Sha256: 10c79312903dbeebc58ee6a6a4c4d19922586e4a7722d5f1fecd997c2f97ca51

Contents?: true

Size: 329 Bytes

Versions: 56

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

require 'spree/testing_support/factory_bot'
Spree::TestingSupport::FactoryBot.when_cherry_picked do
  Spree::TestingSupport::FactoryBot.deprecate_cherry_picking
end

FactoryBot.define do
  factory :return_reason, class: 'Spree::ReturnReason' do
    sequence(:name) { |n| "Defect ##{n}" }
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
solidus_core-3.4.6 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.4.5 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.4.4 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.3.4 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.2.9 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.2.8 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.3.3 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.4.3 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.4.2 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.2.7 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.3.2 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.4.1 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.4.0 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.3.1 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.2.6 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.1.9 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.3.0 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.2.5 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.2.4 lib/spree/testing_support/factories/return_reason_factory.rb
solidus_core-3.2.3 lib/spree/testing_support/factories/return_reason_factory.rb