mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-17 11:54:22 +01:00
updated fixtures
This commit is contained in:
parent
d71bef8c5c
commit
88ab9d77a7
8
test/fixtures/addresses.yml
vendored
8
test/fixtures/addresses.yml
vendored
@ -8,7 +8,7 @@ address_1:
|
||||
country:
|
||||
postal_code:
|
||||
placeable_id: 2
|
||||
placeable_type: Profile
|
||||
placeable_type: InvoicingProfile
|
||||
created_at: 2016-04-04 15:06:22.166469000 Z
|
||||
updated_at: 2016-04-04 15:06:22.166469000 Z
|
||||
|
||||
@ -21,7 +21,7 @@ address_2:
|
||||
country:
|
||||
postal_code:
|
||||
placeable_id: 4
|
||||
placeable_type: Profile
|
||||
placeable_type: InvoicingProfile
|
||||
created_at: 2016-04-04 15:10:42.353039000 Z
|
||||
updated_at: 2016-04-04 15:10:42.353039000 Z
|
||||
|
||||
@ -34,7 +34,7 @@ address_3:
|
||||
country:
|
||||
postal_code:
|
||||
placeable_id: 5
|
||||
placeable_type: Profile
|
||||
placeable_type: InvoicingProfile
|
||||
created_at: 2016-04-04 15:14:08.579603000 Z
|
||||
updated_at: 2016-04-04 15:14:08.579603000 Z
|
||||
|
||||
@ -47,7 +47,7 @@ address_4:
|
||||
country:
|
||||
postal_code:
|
||||
placeable_id: 3
|
||||
placeable_type: Profile
|
||||
placeable_type: InvoicingProfile
|
||||
created_at: 2016-04-05 08:35:18.597812000 Z
|
||||
updated_at: 2016-04-05 08:35:18.597812000 Z
|
||||
|
||||
|
10
test/fixtures/invoices.yml
vendored
10
test/fixtures/invoices.yml
vendored
@ -7,7 +7,7 @@ invoice_1:
|
||||
total: 10000
|
||||
created_at: 2012-03-12 11:03:31.651441000 Z
|
||||
updated_at: 2012-03-12 11:03:31.651441000 Z
|
||||
user_id: 3
|
||||
invoicing_profile_id: 3
|
||||
reference: 1604001/VL
|
||||
avoir_mode:
|
||||
avoir_date:
|
||||
@ -27,7 +27,7 @@ invoice_2:
|
||||
total: 2000
|
||||
created_at: 2012-03-12 13:40:22.342717000 Z
|
||||
updated_at: 2012-03-12 13:40:22.342717000 Z
|
||||
user_id: 4
|
||||
invoicing_profile_id: 4
|
||||
reference: '1604002'
|
||||
avoir_mode:
|
||||
avoir_date:
|
||||
@ -47,7 +47,7 @@ invoice_3:
|
||||
total: 3000
|
||||
created_at: 2015-06-10 11:20:01.341130000 Z
|
||||
updated_at: 2015-06-10 11:20:01.341130000 Z
|
||||
user_id: 7
|
||||
invoicing_profile_id: 7
|
||||
reference: '1203001'
|
||||
avoir_mode:
|
||||
avoir_date:
|
||||
@ -68,7 +68,7 @@ invoice_4:
|
||||
total: 0
|
||||
created_at: 2016-04-05 08:35:52.931187000 Z
|
||||
updated_at: 2016-04-05 08:35:52.931187000 Z
|
||||
user_id: 7
|
||||
invoicing_profile_id: 7
|
||||
reference: '1203002'
|
||||
avoir_mode:
|
||||
avoir_date:
|
||||
@ -88,7 +88,7 @@ invoice_5:
|
||||
total: 1500
|
||||
created_at: 2016-04-05 08:36:46.853368000 Z
|
||||
updated_at: 2016-04-05 08:36:46.853368000 Z
|
||||
user_id: 3
|
||||
invoicing_profile_id: 3
|
||||
reference: '1506031'
|
||||
avoir_mode:
|
||||
avoir_date:
|
||||
|
52
test/fixtures/invoicing_profiles.yml
vendored
52
test/fixtures/invoicing_profiles.yml
vendored
@ -1,15 +1,41 @@
|
||||
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
admin:
|
||||
id: 1
|
||||
user_id: 1
|
||||
first_name: admin
|
||||
last_name: admin
|
||||
|
||||
one:
|
||||
user_id:
|
||||
first_name: MyString
|
||||
last_name: MyString
|
||||
address_id:
|
||||
organization_id:
|
||||
jdupont:
|
||||
id: 2
|
||||
user_id: 2
|
||||
first_name: Jean
|
||||
last_name: Dupont
|
||||
|
||||
two:
|
||||
user_id:
|
||||
first_name: MyString
|
||||
last_name: MyString
|
||||
address_id:
|
||||
organization_id:
|
||||
kdumas:
|
||||
id: 4
|
||||
user_id: 4
|
||||
first_name: Kevin
|
||||
last_name: Dumas
|
||||
|
||||
vlonchamp:
|
||||
id: 5
|
||||
user_id: 5
|
||||
first_name: Vanessa
|
||||
last_name: Lonchamp
|
||||
|
||||
gpartenaire:
|
||||
id: 6
|
||||
user_id: 6
|
||||
first_name: Gilbert
|
||||
last_name: Partenaire
|
||||
|
||||
pdurand:
|
||||
id: 3
|
||||
user_id: 3
|
||||
first_name: Paulette
|
||||
last_name: Durand
|
||||
|
||||
lseguin:
|
||||
id: 7
|
||||
user_id: 7
|
||||
first_name: Lucile
|
||||
last_name: Seguin
|
||||
|
2
test/fixtures/organizations.yml
vendored
2
test/fixtures/organizations.yml
vendored
@ -1,4 +1,4 @@
|
||||
casemate:
|
||||
id: 1
|
||||
name: La Casemate
|
||||
profile_id: 7
|
||||
invoicing_profile_id: 7
|
||||
|
Loading…
x
Reference in New Issue
Block a user