Sha256: 0c957c0a2bbc4ef4a97b16122bcab5260ffc1f33e2bef66a081459649ead6c83

Contents?: true

Size: 222 Bytes

Versions: 75

Compression:

Stored size: 222 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :adjustment_reason, class: 'Spree::AdjustmentReason' do
    sequence(:name) { |n| "Refund for return ##{n}" }
    sequence(:code) { |n| "Code #{n}" }
  end
end

Version data entries

75 entries across 75 versions & 2 rubygems

Version Path
solidus_core-4.4.1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.4.0 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.3.4 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.2.4 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.1.5 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.3.3 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.3.2 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.1.4 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.3.1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.3.0 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.2.3 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.1.3 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.0.4 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.0.3 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.1.2 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.2.2 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.2.1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.2.0 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.1.1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-4.0.2 lib/spree/testing_support/factories/adjustment_reason_factory.rb