Sha256: 4da044a5d320d2f1519b04bc7460851630094cb0d490169b1770af525ced185b

Contents?: true

Size: 238 Bytes

Versions: 72

Compression:

Stored size: 238 Bytes

Contents

FactoryGirl.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

72 entries across 72 versions & 1 rubygems

Version Path
spree_core-3.1.14 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.1.13 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.3.4 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.2.7 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.1.12 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.3.3 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.2.6 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.1.11 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.4.1 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.4.0 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.4.0.rc2 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.1.10 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.4.0.rc1 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.3.2 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.2.5 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.1.9 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.3.1 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.2.4 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.1.8 lib/spree/testing_support/factories/inventory_unit_factory.rb
spree_core-3.3.0 lib/spree/testing_support/factories/inventory_unit_factory.rb