diff options
| author | Xinhui | 2016-08-05 11:23:03 +0200 | 
|---|---|---|
| committer | Xinhui | 2016-08-05 11:23:03 +0200 | 
| commit | 7cfd4faefab17e556ac66dd0e52c5942b289ec62 (patch) | |
| tree | c5630a1a3112f24a089b80ff13556892fef527f5 /spec/fixtures | |
| parent | 9a818eeb8991bf0e07f2c9a9837930d153a0492f (diff) | |
| download | chouette-core-7cfd4faefab17e556ac66dd0e52c5942b289ec62.tar.bz2 | |
Rspec task organisations:sync
Diffstat (limited to 'spec/fixtures')
| -rw-r--r-- | spec/fixtures/organizations.json | 98 | 
1 files changed, 98 insertions, 0 deletions
| diff --git a/spec/fixtures/organizations.json b/spec/fixtures/organizations.json new file mode 100644 index 000000000..b70f99520 --- /dev/null +++ b/spec/fixtures/organizations.json @@ -0,0 +1,98 @@ +[{ +  "id": 1, +  "name": "STIF", +  "code": "STIF", +  "created_at": "2016-05-17T15:33:45.951Z", +  "updated_at": "2016-05-17T15:33:45.951Z", +  "organization_users": { +    "users_count": 9 +  }, +  "suborganizations": { +    "suborganizations_count": 4, +    "suborganizations": [{ +      "id": 6, +      "name": "ALBATRANS", +      "code": "ALBATRANS" +    }, { +      "id": 5, +      "name": "OPTILE", +      "code": "OPTILE" +    }, { +      "id": 2, +      "name": "RATP", +      "code": "RATP" +    }, { +      "id": 3, +      "name": "SNCF", +      "code": "SNCF" +    }] +  } +}, { +  "id": 3, +  "name": "SNCF", +  "code": "SNCF", +  "created_at": "2016-05-17T16:04:27.047Z", +  "updated_at": "2016-05-17T16:04:27.047Z", +  "organization_users": { +    "users_count": 2 +  }, +  "suborganizations": { +    "suborganizations_count": 0, +    "suborganizations": [] +  }, +  "organization_parent": { +    "parent_id": 1, +    "parent_name": "STIF" +  } +}, { +  "id": 5, +  "name": "OPTILE", +  "code": "OPTILE", +  "created_at": "2016-05-17T16:04:27.655Z", +  "updated_at": "2016-05-17T16:04:27.655Z", +  "organization_users": { +    "users_count": 0 +  }, +  "suborganizations": { +    "suborganizations_count": 0, +    "suborganizations": [] +  }, +  "organization_parent": { +    "parent_id": 1, +    "parent_name": "STIF" +  } +}, { +  "id": 6, +  "name": "ALBATRANS", +  "code": "ALBATRANS", +  "created_at": "2016-05-17T16:04:27.955Z", +  "updated_at": "2016-05-17T16:04:27.955Z", +  "organization_users": { +    "users_count": 0 +  }, +  "suborganizations": { +    "suborganizations_count": 0, +    "suborganizations": [] +  }, +  "organization_parent": { +    "parent_id": 1, +    "parent_name": "STIF" +  } +}, { +  "id": 2, +  "name": "RATP", +  "code": "RATP", +  "created_at": "2016-05-17T16:04:26.646Z", +  "updated_at": "2016-05-31T10:06:39.349Z", +  "organization_users": { +    "users_count": 8 +  }, +  "suborganizations": { +    "suborganizations_count": 0, +    "suborganizations": [] +  }, +  "organization_parent": { +    "parent_id": 1, +    "parent_name": "STIF" +  } +}] | 
