aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascripts/time_table
diff options
context:
space:
mode:
authorXinhui2017-04-26 17:22:38 +0200
committerXinhui2017-04-26 17:22:38 +0200
commit21ce70e31bd1904a621552234e95ce00779702f4 (patch)
treea22ace7ecd9f5e62b42e7be93960b31cfa2e680c /spec/javascripts/time_table
parent2d19e65fa8d8ac037c7f00a638111788b7ee002c (diff)
parent4f3e42c0ca5da12503eaaf1de258a007edbdaae3 (diff)
downloadchouette-core-21ce70e31bd1904a621552234e95ce00779702f4.tar.bz2
Merge branch 'master' into staging
Diffstat (limited to 'spec/javascripts/time_table')
-rw-r--r--spec/javascripts/time_table/reducers/metas_spec.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/javascripts/time_table/reducers/metas_spec.js b/spec/javascripts/time_table/reducers/metas_spec.js
index e3729dc2a..6f83abfec 100644
--- a/spec/javascripts/time_table/reducers/metas_spec.js
+++ b/spec/javascripts/time_table/reducers/metas_spec.js
@@ -5,10 +5,9 @@ let state = {}
describe('status reducer', () => {
beforeEach(() => {
state = {
- comment: 'test',
- day_types: [true, true, true, true, true, true, true],
- tags: ['t1'],
- color: 'blue'
+ comment: 'test',
+ day_types: [true, true, true, true, true, true, true],
+ color: 'blue'
}
})
@@ -25,7 +24,7 @@ describe('status reducer', () => {
type: 'UPDATE_DAY_TYPES',
index: 0
})
- ).toEqual(Object.assign({}, state, {day_types: arr}))
+ ).toEqual(Object.assign({}, state, {day_types: arr, calendar: {name: 'Aucun'}}))
})
it('should handle UPDATE_COMMENT', () => {