diff options
| author | Thomas Haddad | 2017-02-24 15:01:56 +0100 | 
|---|---|---|
| committer | Thomas Haddad | 2017-02-24 15:01:56 +0100 | 
| commit | 17ed10b09295bfc7657010583d4aab16314a88c3 (patch) | |
| tree | 3f0f3c9e537d4499d1f5f6540fcd8879f27ecc0e /spec/javascripts | |
| parent | 72c004af1cc964433019aa0fea54e81cc9d0918d (diff) | |
| download | chouette-core-17ed10b09295bfc7657010583d4aab16314a88c3.tar.bz2 | |
Fix spec gardening
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Diffstat (limited to 'spec/javascripts')
| -rw-r--r-- | spec/javascripts/vehicle_journeys/reducers/vehicle_journeys_spec.js | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/javascripts/vehicle_journeys/reducers/vehicle_journeys_spec.js b/spec/javascripts/vehicle_journeys/reducers/vehicle_journeys_spec.js index f0665a023..2eff8a559 100644 --- a/spec/javascripts/vehicle_journeys/reducers/vehicle_journeys_spec.js +++ b/spec/javascripts/vehicle_journeys/reducers/vehicle_journeys_spec.js @@ -222,13 +222,11 @@ describe('vehicleJourneys reducer', () => {    it('should handle EDIT_VEHICLEJOURNEY_NOTES', () => { -    let fakeFootnote = { +    let fakeFootnotesResult = fakeFootnotes.push({          id: 3,          code: 3,          label: "3" -    } -    fakeFootnotes.push(fakeFootnote) -    let fakeFootnotesResult = fakeFootnotes.slice(0) +    })      let newVJ = Object.assign({}, state[0], {footnotes: fakeFootnotesResult})      expect(        vjReducer(state, {  | 
