Initial commit of foodsoft 2
This commit is contained in:
commit
5b9a7e05df
657 changed files with 70444 additions and 0 deletions
4
test/fixtures/article_categories.yml
vendored
Normal file
4
test/fixtures/article_categories.yml
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
fruits:
|
||||
id: 1
|
||||
description: fruits and only fruits
|
||||
29
test/fixtures/articles.yml
vendored
Normal file
29
test/fixtures/articles.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
banana:
|
||||
id: 1
|
||||
name: banana
|
||||
current_price_id: 1
|
||||
unit: 500g
|
||||
availability: 1
|
||||
note: delicious
|
||||
supplier_id: 1
|
||||
article_category_id: 1
|
||||
kiwi:
|
||||
id: 2
|
||||
name: kiwi
|
||||
current_price_id: 2
|
||||
unit: 500g
|
||||
availability: 1
|
||||
note: delicious
|
||||
supplier_id: 1
|
||||
article_category_id: 1
|
||||
apple:
|
||||
id: 3
|
||||
name: apple
|
||||
current_price_id: 3
|
||||
unit: 500g
|
||||
availability: 0
|
||||
note: delicious
|
||||
supplier_id: 1
|
||||
article_category_id: 1
|
||||
|
||||
5
test/fixtures/assignments.yml
vendored
Normal file
5
test/fixtures/assignments.yml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
one:
|
||||
id: 1
|
||||
two:
|
||||
id: 2
|
||||
5
test/fixtures/financial_transactions.yml
vendored
Normal file
5
test/fixtures/financial_transactions.yml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
first:
|
||||
id: 1
|
||||
another:
|
||||
id: 2
|
||||
5
test/fixtures/group_order_article_quantities.yml
vendored
Normal file
5
test/fixtures/group_order_article_quantities.yml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
first:
|
||||
id: 1
|
||||
another:
|
||||
id: 2
|
||||
5
test/fixtures/group_order_article_results.yml
vendored
Normal file
5
test/fixtures/group_order_article_results.yml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
first:
|
||||
id: 1
|
||||
another:
|
||||
id: 2
|
||||
12
test/fixtures/group_order_results.yml
vendored
Normal file
12
test/fixtures/group_order_results.yml
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
one:
|
||||
id: 1
|
||||
order_id: 1
|
||||
group_name: Order Group 1
|
||||
price: 99.95
|
||||
two:
|
||||
id: 2
|
||||
order_id: 1
|
||||
group_name: Order Group 2
|
||||
price: 99.95
|
||||
|
||||
13
test/fixtures/groups.yml
vendored
Normal file
13
test/fixtures/groups.yml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
first:
|
||||
id: 1
|
||||
name: Order Group 1
|
||||
type: OrderGroup
|
||||
another:
|
||||
id: 2
|
||||
name: Order Group 2
|
||||
type: OrderGroup
|
||||
admins:
|
||||
id: 3
|
||||
name: Administrators
|
||||
role_admin: true
|
||||
10
test/fixtures/memberships.yml
vendored
Normal file
10
test/fixtures/memberships.yml
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
first:
|
||||
id: 1
|
||||
group_id: 3
|
||||
user_id: 1
|
||||
another:
|
||||
id: 2
|
||||
group_id: 1
|
||||
user_id: 2
|
||||
|
||||
5
test/fixtures/messages.yml
vendored
Normal file
5
test/fixtures/messages.yml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
one:
|
||||
id: 1
|
||||
two:
|
||||
id: 2
|
||||
5
test/fixtures/order_article_results.yml
vendored
Normal file
5
test/fixtures/order_article_results.yml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
first:
|
||||
id: 1
|
||||
another:
|
||||
id: 2
|
||||
5
test/fixtures/orders.yml
vendored
Normal file
5
test/fixtures/orders.yml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
first:
|
||||
id: 1
|
||||
another:
|
||||
id: 2
|
||||
5
test/fixtures/roles.yml
vendored
Normal file
5
test/fixtures/roles.yml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
first:
|
||||
id: 1
|
||||
another:
|
||||
id: 2
|
||||
15
test/fixtures/suppliers.yml
vendored
Normal file
15
test/fixtures/suppliers.yml
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
first:
|
||||
id: 1
|
||||
name: Terra
|
||||
delivery_days: tuesday
|
||||
contact_person: thomas terra
|
||||
url: www.terra-natur.de
|
||||
note:
|
||||
fax: 01324-343444
|
||||
phone: 0123-555555
|
||||
order_howto:
|
||||
phone2: 01234-7878787
|
||||
address: berlin bio
|
||||
customer_number: 123478
|
||||
email: terra@terra.com
|
||||
5
test/fixtures/tasks.yml
vendored
Normal file
5
test/fixtures/tasks.yml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
one:
|
||||
id: 1
|
||||
two:
|
||||
id: 2
|
||||
16
test/fixtures/users.yml
vendored
Normal file
16
test/fixtures/users.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
||||
admin:
|
||||
id: 1
|
||||
nick: admin
|
||||
first_name: Anton
|
||||
last_name: Admininistrator
|
||||
email: admin@foo.test
|
||||
#TODO: password can't loaded directyl to the database
|
||||
#password_hash:
|
||||
#password_salt:
|
||||
test:
|
||||
id: 2
|
||||
nick: test
|
||||
first_name: Tim
|
||||
last_name: Tester
|
||||
email: test@foo.test
|
||||
Loading…
Add table
Add a link
Reference in a new issue