Sha256: 622fd9093bb89aaafedfe6208022a683de3f651d5a4b50a4918eca4876d50d75

Contents?: true

Size: 220 Bytes

Versions: 48

Compression:

Stored size: 220 Bytes

Contents

# frozen_string_literal: true

require 'spree/testing_support/factories/variant_factory'

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

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
solidus_core-2.10.5 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.11.3 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.11.2 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.11.1 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.10.3 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.11.0 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.10.2 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.9.6 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.8.6 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.10.1 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.9.5 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.10.0 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.9.4 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.6.6 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.7.4 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.8.5 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.9.3 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.9.2 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.10.0.beta1 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.7.3 lib/spree/testing_support/factories/price_factory.rb