Sha256: e0e62b70cd15c6b1bee4f567af3a35e8d0f2108eec97cd4ec8315839dd8e3488

Contents?: true

Size: 336 Bytes

Versions: 23

Compression:

Stored size: 336 Bytes

Contents

FactoryGirl.define do
  factory :inventory_unit, :class => Spree::InventoryUnit do
    variant { FactoryGirl.create(:variant) }
    order { FactoryGirl.create(:order) }
    state 'sold'
    shipment { FactoryGirl.create(:shipment, :state => 'pending') }
    #return_authorization { FactoryGirl.create(:return_authorization) }
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
spree_core-1.3.5 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.3.4 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.3.3 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.2.5 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.1.6 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.1.5 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.2.4 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.3.2 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.2.3 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.3.1 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.3.0 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.3.0.rc2 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
dup_spree_core-1.3.0.rc1 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.3.0.rc1 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.2.2 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.1.4 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.2.0 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.2.0.rc2 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.2.0.rc1 lib/spree/core/testing_support/factories/inventory_unit_factory.rb
spree_core-1.1.3 lib/spree/core/testing_support/factories/inventory_unit_factory.rb