tap/test/fixtures/products.yml
2015-01-15 00:39:34 +01:00

30 lines
741 B
YAML

# == Schema Information
#
# Table name: products
#
# id :integer not null, primary key
# name :string(255)
# price :integer
# created_at :datetime
# updated_at :datetime
# avatar_file_name :string(255)
# avatar_content_type :string(255)
# avatar_file_size :integer
# avatar_updated_at :datetime
# category :integer default(0)
# stock :integer default(0)
#
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
name: MyString
purchase_price: 1
sale_price: 1
img_path: MyString
two:
name: MyString
purchase_price: 1
sale_price: 1
img_path: MyString