1 require File.join( File.dirname(__FILE__), "..", "..", "..", "spec_helper" )
3 describe Mart::Orders::LineItem do
5 describe "associations" do
6 it "should belong to a product"
7 it "should belong to an order item"
10 it "should create and returns a line item when a product is passed in"
12 it "should provide a total"
13 it "should provide a product id"
14 it "should provide a product"
15 it "should provide a code"
16 it "should provide a name"