Skip to content
Browse files

fix shipment model spec

  • Loading branch information...
1 parent 0ab37eb commit 1b6bd555dac9e5cdaf5d2d2d8b42e99d6331f79c @joneslee85 joneslee85 committed with BDQ
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/spec/models/shipment_spec.rb
View
2 core/spec/models/shipment_spec.rb
@@ -84,7 +84,7 @@
after { Spree::Config.set :track_inventory_levels => true }
it "should not use the line items from order when track_inventory_levels is false" do
- line_items = [mock_model LineItem]
+ line_items = [mock_model(LineItem)]
order.stub :complete? => true
order.stub :line_items => line_items
shipment.line_items.should == line_items

0 comments on commit 1b6bd55

Please sign in to comment.
Something went wrong with that request. Please try again.