diff options
| author | Zog | 2018-01-09 16:39:44 +0100 |
|---|---|---|
| committer | Zog | 2018-01-09 16:39:44 +0100 |
| commit | 2b72125bd3f3393c92b4e3d8680eb0ea9aa40e6e (patch) | |
| tree | b2b50919a882539046fd629322c8a91de6b3b2dd /spec | |
| parent | a0e05d7b2d9be6f52d88f365739ca2eab406a2f2 (diff) | |
| download | chouette-core-2b72125bd3f3393c92b4e3d8680eb0ea9aa40e6e.tar.bz2 | |
Refs #5502 @4h; Don't use Ajax in JP selector in VJs editor5502-remove-search-from-selects
When the number of possible values is low (<10), display the values
right away, don't use an Ajax query
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/javascript/vehicle_journeys/actions_spec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/javascript/vehicle_journeys/actions_spec.js b/spec/javascript/vehicle_journeys/actions_spec.js index 2f1daf0da..9515b57f2 100644 --- a/spec/javascript/vehicle_journeys/actions_spec.js +++ b/spec/javascript/vehicle_journeys/actions_spec.js @@ -42,6 +42,7 @@ describe('when using select2 to pick a journey pattern', () => { let selectedJP = { id: 1, object_id: 2, + short_id: 2, name: 'test', published_name: 'test', stop_area_short_descriptions: ['test'] @@ -51,6 +52,7 @@ describe('when using select2 to pick a journey pattern', () => { selectedItem:{ id: selectedJP.id, objectid: selectedJP.object_id, + short_id: selectedJP.object_id, name: selectedJP.name, published_name: selectedJP.published_name, stop_areas: selectedJP.stop_area_short_descriptions |
