aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorThomas Haddad2017-05-26 10:59:40 +0200
committerThomas Haddad2017-05-26 10:59:40 +0200
commitaf2b524426e8bd2cae4cf136fe3f51cba20089cc (patch)
tree6a8d5b054fffb8346c3847bea72db69e0055b559 /spec
parent49e8c9b65f953bf725a39193797266ac4ac717f1 (diff)
downloadchouette-core-af2b524426e8bd2cae4cf136fe3f51cba20089cc.tar.bz2
Refs #2913: Set calendar to null when timetable is modified
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/time_table/reducers/metas_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/time_table/reducers/metas_spec.js b/spec/javascripts/time_table/reducers/metas_spec.js
index 79dbe1ea3..5ec7a0034 100644
--- a/spec/javascripts/time_table/reducers/metas_spec.js
+++ b/spec/javascripts/time_table/reducers/metas_spec.js
@@ -30,7 +30,7 @@ describe('metas reducer', () => {
type: 'UPDATE_DAY_TYPES',
dayTypes: arr
})
- ).toEqual(Object.assign({}, state, {day_types: arr, calendar: {name: 'Aucun'}}))
+ ).toEqual(Object.assign({}, state, {day_types: arr, calendar: null}))
})
it('should handle UPDATE_COMMENT', () => {