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