Sha256: a6673e06d92c4ac3ec059252c6b96b262322259616ec0c8aa259f3b834cc8596

Contents?: true

Size: 161 Bytes

Versions: 23

Compression:

Stored size: 161 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
solidus_core-4.0.1 lib/spree/testing_support/factories/price_factory.rb
solidus_core-4.1.0 lib/spree/testing_support/factories/price_factory.rb
solidus_core-4.0.0 lib/spree/testing_support/factories/price_factory.rb