Sha256: 5e11fdbc21755016b3349014afacabcc43c525119e35e259a1a283282a0f4b4b

Contents?: true

Size: 180 Bytes

Versions: 39

Compression:

Stored size: 180 Bytes

Contents

require 'spree/testing_support/factories/variant_factory'

FactoryGirl.define do
  factory :price, class: Spree::Price do
    variant
    amount 19.99
    currency 'USD'
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

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