aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascripts
diff options
context:
space:
mode:
authorRobert2017-04-25 17:19:10 +0200
committerRobert2017-04-25 17:19:10 +0200
commitb28038e7895be940c667f2ca29cfc3212d1aba79 (patch)
tree6afb54d980ae9e25fb89311e59e848f947863b5f /spec/javascripts
parent40ca2fc7a724d1ba3d7d95d5cd842e38c3774faf (diff)
parent4912577341d05526b5442f081660760c506e150c (diff)
downloadchouette-core-b28038e7895be940c667f2ca29cfc3212d1aba79.tar.bz2
Merge branch 'master' of github.com:af83/stif-boiv
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', () => {