Sha256: 0e04aaa9e95393b0e4a79d61a96e37128488fc615ea174d7518e635d06a5add8

Contents?: true

Size: 237 Bytes

Versions: 9

Compression:

Stored size: 237 Bytes

Contents

FactoryBot.define do
  factory :inventory_unit, class: Spree::InventoryUnit do
    variant
    order
    line_item
    state 'on_hand'
    association(:shipment, factory: :shipment, state: 'pending')
    # return_authorization
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree_core-3.4.6 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.2.9 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.3.6 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.2.8 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.4.5 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.3.5 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.4.4 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.4.3 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.4.2 lib/spree/testing_support/factories/inventory_unit_factory.rb