Sha256: 51358108717a70de685c02ab4cb0bf7fbbd02d1f810ab97b089377e90c86e22b

Contents?: true

Size: 433 Bytes

Versions: 27

Compression:

Stored size: 433 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper.rb'

describe InventoryUnit do
  
  before(:each) do
    @order = mock_model(Order)
  end
  
  it "should mark the correct number of inventory units as SOLD" do
    line_item = mock_model(LineItem)
    variant = mock_model(Variant)
    line_item.stub!(:variant).and_return(variant)
    @order.stub!(:line_items).and_return([line_item])
    
    # TODO - finish this test
  end
  
end

Version data entries

27 entries across 27 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 spec/models/inventory_unit_spec.rb
spree-0.11.0 spec/models/inventory_unit_spec.rb
spree-0.10.2 spec/models/inventory_unit_spec.rb
spree-0.10.1 spec/models/inventory_unit_spec.rb
spree-0.10.0 spec/models/inventory_unit_spec.rb
spree-0.10.0.beta spec/models/inventory_unit_spec.rb
spree-enriquez-0.9.4 spec/models/inventory_unit_spec.rb
spree-0.9.4 spec/models/inventory_unit_spec.rb
spree-0.9.3 spec/models/inventory_unit_spec.rb
spree-0.9.2 spec/models/inventory_unit_spec.rb
spree-0.9.1 spec/models/inventory_unit_spec.rb
spree-0.9.0 spec/models/inventory_unit_spec.rb
spree-0.8.4 spec/models/inventory_unit_spec.rb
spree-0.8.5 spec/models/inventory_unit_spec.rb
spree-0.0.9 spec/models/inventory_unit_spec.rb
spree-0.2.0 spec/models/inventory_unit_spec.rb
spree-0.4.0 spec/models/inventory_unit_spec.rb
spree-0.4.1 spec/models/inventory_unit_spec.rb
spree-0.5.0 spec/models/inventory_unit_spec.rb
spree-0.5.1 spec/models/inventory_unit_spec.rb