tap/spec/factories/order_items.rb

17 lines
299 B
Ruby
Raw Normal View History

# == Schema Information
#
# Table name: order_items
#
# id :integer not null, primary key
# order_id :integer
# product_id :integer not null
# count :integer default("0")
#
FactoryGirl.define do
factory :order_item do
order
product
end
end