aboutsummaryrefslogtreecommitdiffstats
path: root/spec/requests/api
AgeCommit message (Collapse)Author
2018-05-13Disable Import::Netex API v1 request specs. Refs #6995Alban Peignier
2018-04-22Import::Netex file error is no longer managed with a 406 API status. Refs #6645Alban Peignier
2018-03-12Refs #6133; Fix specsZog
2017-12-14Fixes: #5006@10h;Robert
Implementation of Filtering Out Referentials with foreign lines in `app/workers/workbench_import_worker.rb` - Using ZipService with the set of allowed lines of the organisation - Fixing Integration Specs of the worker - Refactoring, Debugging and Rebasing
2017-11-02 Refs: #4802@2h; Replaying former work. To identify spec regressionRobert
Step 2: Added validation of reference->workbench->organisation consistency Made all specs pass Chased bug #4826
2017-09-05Skip temporarily some testscedricnjanga
2017-08-27Create STIF::NetexFile to read zip content and create ReferentialMetadata ↵Alban Peignier
from real data. Refs #4273
2017-08-27Fixes API:v1:NetexImportsController specs. Refs #4273Alban Peignier
2017-08-27Disable authentication test in NetexImport requests spec. Refs #4311Alban Peignier
2017-08-25NetexImportsController spec: Fix failing tests caused by KludgeTeddy Wing
The `ReferentialMetadataKludge` expects a couple of `Chouette::Line`s to already exist in the database in order to successfully create a `ReferentialMetadata` record. In tests, this is not the case. As a kludge to the kludge, create the expected line records in the tests that fail because of it, with the proviso that these additions should be removed or changed once we have real `ReferentialMetadata` handling for imports.
2017-08-25NetexImportsController spec: Change name of referentialTeddy Wing
While `ReferentialMetadataKludge` exists, the name needs to match one of the keys in `#name_to_periods`, otherwise all the tests that use these attributes fail.
2017-08-02Refs: #4176@3h; NetexImportController refactored with help of ControlFlowRobert
2017-08-01Refs: #4176@2h; Request Spec for NetexImport adapted and implementedRobert
- Specing that, in case of a correct request Referential & NetexImport instances are created and a 201 is returned - Specing that, in case of an incorrect request, no instance is created and a 406 with a correct error message is returned - Implemented MISSING: Refactor controller implmentation
2017-08-01Refs: #4176@1h; Specing Referential Creation on NetexImport API callRobert
2017-07-31Refs: #3507@3h; CR finishedRobert
2017-07-25Refs: #3507;20h Specing and Implementing the ZipServiceRobert
2017-07-20Refs: #3507@1hRobert
Introduction of Presence Validation in Import model, for: - workbench - referential
2017-07-20Fixes: #3506@0.5hRobert
* CR refacts (netex_import req spec) * Dead Code Elimination (mount in Import subclasses)
2017-07-19Refs: #3506@1h; Code ReviewRobert
2017-07-19Refs: #3506@16h Request Spec for NetexImport API and implementationRobert
- Carrier Wave Upload with `fixture_file_upload` - Request specs to .json - Implementation - API token setup - Refuted experiments with controller specs