aboutsummaryrefslogtreecommitdiffstats
path: root/spec
AgeCommit message (Collapse)Author
2018-05-02Merge pull request #546 from af83/6572-make-new-referentials-pendingLuc Donnet
6572 Create Referentials in a pending state
2018-05-02Refs #6572; Fix specs6572-make-new-referentials-pendingZog
2018-05-02Refs #6572; Crete Referentials in a pending stateZog
And fix a bug preventing the deletion of referentials without a schema
2018-04-30Workbenches#show: Don't allow pending referentials to be selected6858-workbenches-show--disallow-deletion-of-pending-referentTeddy Wing
Disable the checkboxes next to pending referentials. This prevents them from being deleted by the batch deletion operation. In general it seems like we shouldn't be operating on pending referentials, so if any new batch actions are added, it would make sense to me for the checkboxes to stay disabled. We want to disallow deletion of pending referentials because this can put the data in an inconsistent state that requires manual intervention to clean (I think). Refs #6858
2018-04-30Fix VehicleJourney#fill_passing_times!Zog
2018-04-29Fix more specsZog
2018-04-29Fix specsZog
2018-04-27:fire: logZog
2018-04-27Refs #6572; Fix specsZog
2018-04-27Refs #6572; Fix specsZog
2018-04-27Refs #6572; New Referential#Show for noredy referentialsZog
2018-04-27Refs #6572; Use new statesZog
2018-04-27Refs #6572; Define 4 different states on ReferentialsZog
With according methods and scopes
2018-04-27Fix Vehicle journeys specsZog
2018-04-27Disable 'compute passing time' specAlban Peignier
2018-04-27Use truncation in ReferentialCloningWorker spec to find the created ↵6833-clone-by-commandAlban Peignier
referential outside of the transaction. Refs #6833
2018-04-26Replace AF83::SchemaCloner by a dump/sed/restore command. Refs #6833Alban Peignier
2018-04-26Merge pull request #533 from af83/6826-fix-times-interpolationAlban Peignier
Fix times interpolation with day offsets. Fixes #6826
2018-04-26features/stop_areas_spec: Fix `name_or_objectid_cont` nameTeddy Wing
This name has been renamed to get Ransack to filter by registration number (in c2a466e04d3e335a56ab5bd0866b3663da29ffa0). Change the name used in these tests to get them to pass again. Refs #6681
2018-04-26StopAreasController spec: Test when the name filter is emptyYuhiba
Check that all stop areas are found when the name/objectid/registration number filter is sent with an empty value. Refs #6681
2018-04-26StopAreas#index: Filter by registration numberTeddy Wing
The input that filters by name and objectid now also needs to filter by registration number. Refs #6681
2018-04-26Refs #6826; Fix times interpolation with day offsets6826-fix-times-interpolationZog
2018-04-26Refs #6811; Fix specsZog
2018-04-26Truncate Referential#slug. Refs #6811Alban Peignier
2018-04-26AutocompleteLinesController: Don't error if no `q` param is passedTeddy Wing
Previously the action would respond with a 500 error if no `q` parameter was given in the request. Instead, respond with a 200 and fix the error that occurs as a result of assuming that `params[:q]` exists in `AutocompleteLinesController#collection`. Refs #5889
2018-04-26Fix CustomField specsZog
2018-04-26Fix VehicleJourney SpecsZog
2018-04-26Avoid problem in merge specs with route checksum (problem not reproduced in ↵Alban Peignier
real condition)
2018-04-26Fixes problems in ReferentialCloning specs. Refs #5372Alban Peignier
2018-04-26Fixes problems in CleanUp specs. Refs #5372Alban Peignier
2018-04-25Merge pull request #520 from af83/6711-update-parents-checksumAlban Peignier
Update checksums on parents. Fixes #6711
2018-04-25Merge pull request #524 from af83/6762-merge-ignored_routing_contraint_zonesAlban Peignier
Merge VehicleJourney ignored_routing_contraint_zone_ids. Refs #6762
2018-04-25Update VehicleJourney checksum when StopPoint change isn't necessary in fact ↵6711-update-parents-checksumAlban Peignier
(#mybad). Refs #6711
2018-04-25Refs #6762; Fix bug on RoutingConstraintsZone mergeZog
And add some specs
2018-04-25Refs #6669; delay the custom fields initialization until the workgroup is loadedZog
2018-04-25Make mandatory workgroup for class method custom_fields (not available for ↵Alban Peignier
Company or StopArea for exemple). Refs #6669
2018-04-25Refs #6669; Fix CustomField initializationZog
Use the current referential to infer the workgroup
2018-04-25Merge pull request #474 from ↵teddywing
af83/6445-referential-period-error-display-and-validation Refs #6445 Change ReferentialMetada validationto allowed one day peri…
2018-04-25Refs #6711; Update checksums on parentsZog
When a StopPoint is updated
2018-04-24Refs #6445 Update specs according to new validationscedricnjanga
2018-04-24Fix specs (I18n problem)cedricnjanga
2018-04-23Merge pull request #510 from af83/6634-update-checksum-on-duplicated-routesAlban Peignier
Fix checksum issues with duplicated routes. Refs #6634
2018-04-23Refs #6634; Fix checksum issues with duplicated routes6634-update-checksum-on-duplicated-routesZog
2018-04-22Import::Netex file error is no longer managed with a 406 API status. Refs #6645Alban Peignier
2018-04-22Fix views spec for line_referential and stop_area referential ↵Luc Donnet
synchronization Refs #6306 @1
2018-04-22Fixes JourneyPattern specs (by adding position in JourneyPattern state). ↵Alban Peignier
Refs #6193
2018-04-22Disable line&stop_area_referentials/show specs. Refs #6647Alban Peignier
2018-04-22Fixes JourneyPattern specs with distance is not defined/zero. Refs #6413Alban Peignier
2018-04-22Fixes Calendar::Period specs. Refs #5519Alban Peignier
2018-04-19Refs #5519; Authorize 1-day calendarsZog