tap/test/fixtures/products.yml

39 lines
862 B
YAML
Raw Normal View History

# == Schema Information
#
# Table name: products
#
# id :integer not null, primary key
2015-02-09 16:06:24 +00: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 16:06:24 +00:00
# created_at :datetime
# updated_at :datetime
#
2014-11-24 20:45:32 +00:00
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2015-03-03 14:56:23 +00:00
fanta:
name: 'Fanta'
price_cents: 60
stock: 100
2014-11-24 20:45:32 +00:00
2015-03-03 14:56:23 +00:00
cola:
name: 'Cola'
price_cents: 60
stock: 0
mate:
name: 'Club Mate'
price_cents: 120
stock: 100
bueno:
name: 'Kinder Bueno'
stock: 50
price_cents: 120