Moved User.address-info into Ordergroup.contact_... attributes. Updated model-fixtures for testing.
This commit is contained in:
parent
aa47a24fda
commit
0a2a79237a
60 changed files with 466 additions and 443 deletions
26
test/fixtures/financial_transactions.yml
vendored
26
test/fixtures/financial_transactions.yml
vendored
|
|
@ -1,18 +1,26 @@
|
|||
# == Schema Information
|
||||
# Schema version: 20090114101610
|
||||
# Schema version: 20090119155930
|
||||
#
|
||||
# Table name: financial_transactions
|
||||
#
|
||||
# id :integer(4) not null, primary key
|
||||
# ordergroup_id :integer(4) default(0), not null
|
||||
# id :integer not null, primary key
|
||||
# ordergroup_id :integer default(0), not null
|
||||
# amount :decimal(8, 2) default(0.0), not null
|
||||
# note :text default(""), not null
|
||||
# user_id :integer(4) default(0), not null
|
||||
# note :text not null
|
||||
# user_id :integer default(0), not null
|
||||
# created_on :datetime not null
|
||||
#
|
||||
|
||||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
first:
|
||||
id: 1
|
||||
another:
|
||||
id: 2
|
||||
bananas1:
|
||||
ordergroup: bananas
|
||||
amount: 0.00
|
||||
note: "Deposit for 3 people: 15,-€"
|
||||
user: admin
|
||||
created_on: <%= 2.weeks.ago.strftime("%d.%m.%Y") %>
|
||||
|
||||
bananas2:
|
||||
ordergroup: bananas
|
||||
amount: 100.00
|
||||
note: Paying in from <%= 1.weeks.ago.strftime("%d.%m.%Y") %>
|
||||
created_on: <%= 1.weeks.ago.strftime("%d.%m.%Y") %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue