tap/test/fixtures/products.yml

31 lines
795 B
YAML
Raw Normal View History

# == Schema Information
#
# Table name: products
#
# id :integer not null, primary key
2015-02-09 17:06:24 +01:00
# name :string(255) not null
# price_cents :integer default(0), not null
# category :integer default(0)
# stock :integer default(0), not null
# avatar_file_name :string(255)
# avatar_content_type :string(255)
# avatar_file_size :integer
# avatar_updated_at :datetime
2015-02-09 17:06:24 +01:00
# created_at :datetime
# updated_at :datetime
#
2014-11-24 21:45:32 +01:00
# 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