Moved User.address-info into Ordergroup.contact_... attributes. Updated model-fixtures for testing.

This commit is contained in:
Benjamin Meichsner 2009-02-02 16:35:43 +01:00
parent aa47a24fda
commit 0a2a79237a
60 changed files with 466 additions and 443 deletions

View file

@ -1,27 +1,39 @@
# == Schema Information
# Schema version: 20090120184410
# Schema version: 20090119155930
#
# Table name: article_prices
#
# id :integer(4) not null, primary key
# article_id :integer(4)
# id :integer not null, primary key
# article_id :integer
# price :decimal(8, 2) default(0.0), not null
# tax :decimal(8, 2) default(0.0), not null
# deposit :decimal(8, 2) default(0.0), not null
# unit_quantity :integer(4)
# unit_quantity :integer
# created_at :datetime
#
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
price: 9.99
tax: 9.99
deposit: 9.99
unit_quantity: 1
banana1:
article: banana
price: 1.45
tax: 7.0
unit_quantity: 18
two:
price: 9.99
tax: 9.99
deposit: 9.99
unit_quantity: 1
banana2:
article: banana
price: 1.35
tax: 7.0
unit_quantity: 18
kiwi1:
article: kiwi
price: 1.11
tax: 7.0
unit_quantity: 10
potatoe1:
article: potatoe
price: 1.33
tax: 7.0
unit_quantity: 25