Sha256: 39459db7f5462682f93411fbbc8a3e4ac33b078bece4cf24a017bcdf694a0f12

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 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

4 entries across 4 versions & 1 rubygems

Version Path
solidus_core-2.6.2 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.6.1 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.6.0 lib/spree/testing_support/factories/price_factory.rb
solidus_core-2.6.0.rc1 lib/spree/testing_support/factories/price_factory.rb