aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorThomas Haddad2017-03-06 10:46:52 +0100
committerThomas Haddad2017-03-06 10:46:52 +0100
commite9554edf1a988e9e0a6928742ddbbe914002e8cb (patch)
treec9481d75372d097b98435c3a2ff81cbf6168b8b7 /spec
parentf7e8bc48ae6f582972222d12509a9e5a80e500b0 (diff)
downloadchouette-core-e9554edf1a988e9e0a6928742ddbbe914002e8cb.tar.bz2
Refs #2521: Fix deletable/selected correlation when reduced
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/vehicle_journeys/reducers/vehicle_journeys_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/vehicle_journeys/reducers/vehicle_journeys_spec.js b/spec/javascripts/vehicle_journeys/reducers/vehicle_journeys_spec.js
index 60e78047e..cf80dc01f 100644
--- a/spec/javascripts/vehicle_journeys/reducers/vehicle_journeys_spec.js
+++ b/spec/javascripts/vehicle_journeys/reducers/vehicle_journeys_spec.js
@@ -166,7 +166,7 @@ describe('vehicleJourneys reducer', () => {
})
it('should handle DELETE_VEHICLEJOURNEYS', () => {
- const newVJ = Object.assign({}, state[0], {deletable: true})
+ const newVJ = Object.assign({}, state[0], {deletable: true, selected: false})
expect(
vjReducer(state, {
type: 'DELETE_VEHICLEJOURNEYS'