Sha256: 6bfb04e8648e8832359faf6d700bd30e207427a160bbfe5d917002752268e1cd

Contents?: true

Size: 306 Bytes

Versions: 28

Compression:

Stored size: 306 Bytes

Contents

FactoryGirl.define do

  factory :primary_credit_type, class: Spree::StoreCreditType do
    name      Spree::StoreCreditType::DEFAULT_TYPE_NAME
    priority  { "1" }
  end

  factory :secondary_credit_type, class: Spree::StoreCreditType do
    name      { "Non-expiring" }
    priority  { "2" }
  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
solidus_core-1.2.3 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.1.4 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.0.7 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.0.6 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.2.2 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.2.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.1.3 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.0.5 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.2.0 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.2.0.rc2 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.0.4 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.1.2 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.2.0.rc1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.2.0.beta1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.0.3 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.1.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.1.0 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.1.0.pre2 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.1.0.pre1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-1.1.0.beta1 lib/spree/testing_support/factories/store_credit_type_factory.rb