Sha256: e94b64952bb5865bc64d6e1b814a52993243e23d13850b333abb8ce312ad16d4

Contents?: true

Size: 155 Bytes

Versions: 43

Compression:

Stored size: 155 Bytes

Contents

FactoryGirl.define do
  factory :line_item, class: Spree::LineItem do
    quantity 1
    price { BigDecimal.new('10.00') }
    order
    variant
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
spree_core-2.2.14 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.13 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.12 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.11 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.10 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.9 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.1.12 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.8 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.1.11 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.7 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.1.10 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.0.13 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.1.9 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.6 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.5 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.1.8 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.0.12 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.4 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.3 lib/spree/testing_support/factories/line_item_factory.rb
spree_core-2.2.2 lib/spree/testing_support/factories/line_item_factory.rb