diff options
| author | Thomas Haddad | 2017-01-06 11:40:03 +0100 |
|---|---|---|
| committer | Thomas Haddad | 2017-01-06 14:15:25 +0100 |
| commit | 9a24c7534e9bf8236cf978a837b9051d4af1ee77 (patch) | |
| tree | 49b2d6a6b6187b92cf317f7494ce34050aac64a0 /spec/javascripts | |
| parent | c6f48a35ca41da95de0e3e10b893c297016ae8e7 (diff) | |
| download | chouette-core-9a24c7534e9bf8236cf978a837b9051d4af1ee77.tar.bz2 | |
Fix itineraries reducer spec now receiving proper user_objectid
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Diffstat (limited to 'spec/javascripts')
| -rw-r--r-- | spec/javascripts/itineraries/reducers_spec.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/javascripts/itineraries/reducers_spec.js b/spec/javascripts/itineraries/reducers_spec.js index d77500d3e..a8731af5f 100644 --- a/spec/javascripts/itineraries/reducers_spec.js +++ b/spec/javascripts/itineraries/reducers_spec.js @@ -119,7 +119,6 @@ describe('stops reducer', () => { ) }) - //TODO unskip when es6 is properly functionnal it('should handle UPDATE_INPUT_VALUE', () => { expect( reducer(state, { @@ -127,7 +126,8 @@ describe('stops reducer', () => { index: 0, text: { text: "new value", - stoparea_id: 1 + stoparea_id: 1, + user_objectid: "1234" } }) ).toEqual( @@ -138,7 +138,8 @@ describe('stops reducer', () => { stoppoint_id: '', stoparea_id: 1, for_boarding: 'normal', - for_alighting: 'normal' + for_alighting: 'normal', + user_objectid: "1234" }, { text: 'second', |
