Added specs for item & line item.
[merb_mart.git] / app / models / item / line_item.rb
blobfd010ffc497f9807ed8f43213726da016b4a0239
1 class LineItem < Item
2   property :unit_price, BigDecimal
3   property :quantity,   Integer
5   validates_present :unit_price, :quantity
6 end