Sha256: d5abea42c63272b86bed794edee9f85a4b8c764ecd472c7344f56d57576e5de9

Contents?: true

Size: 190 Bytes

Versions: 32

Compression:

Stored size: 190 Bytes

Contents

FactoryGirl.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

32 entries across 32 versions & 1 rubygems

Version Path
solidus_core-2.3.1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.2.2 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.1.1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.0.3 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-1.4.2 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-1.3.2 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.3.0 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.3.0.rc3 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.3.0.rc2 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.3.0.rc1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.3.0.beta1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.0.2 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-1.4.1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.2.1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.2.0 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.2.0.rc1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.2.0.beta1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.1.0 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.1.0.rc1 lib/spree/testing_support/factories/adjustment_reason_factory.rb
solidus_core-2.0.1 lib/spree/testing_support/factories/adjustment_reason_factory.rb