aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascripts
diff options
context:
space:
mode:
authorThomas Haddad2017-05-26 10:59:40 +0200
committerRobert2017-05-29 08:49:52 +0200
commitb80b15c7cfaa417c5ae26610c2c5ddb563259530 (patch)
treeabcea6a4962b70aaf802d7fbbdbcfe91495ef661 /spec/javascripts
parentf704e1366ac3185aefbc8ad4ee6312b9f1249684 (diff)
downloadchouette-core-b80b15c7cfaa417c5ae26610c2c5ddb563259530.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/javascripts')
-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', () => {