aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts')
-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', () => {