diff --git a/test/fixtures/addresses.yml b/test/fixtures/addresses.yml index 54549dd21..e6cbab1a7 100644 --- a/test/fixtures/addresses.yml +++ b/test/fixtures/addresses.yml @@ -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 diff --git a/test/fixtures/invoices.yml b/test/fixtures/invoices.yml index 6f90b2a03..e028db479 100644 --- a/test/fixtures/invoices.yml +++ b/test/fixtures/invoices.yml @@ -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: diff --git a/test/fixtures/invoicing_profiles.yml b/test/fixtures/invoicing_profiles.yml index 25edb3880..73060f695 100644 --- a/test/fixtures/invoicing_profiles.yml +++ b/test/fixtures/invoicing_profiles.yml @@ -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 diff --git a/test/fixtures/organizations.yml b/test/fixtures/organizations.yml index beca74d5b..0ea72a682 100644 --- a/test/fixtures/organizations.yml +++ b/test/fixtures/organizations.yml @@ -1,4 +1,4 @@ casemate: id: 1 name: La Casemate - profile_id: 7 + invoicing_profile_id: 7