diff options
| author | jpl | 2017-04-25 13:34:33 +0200 |
|---|---|---|
| committer | jpl | 2017-04-25 13:34:40 +0200 |
| commit | 2520e91fb2ffe616b6cc5067a2d971726217eeb2 (patch) | |
| tree | f0702230bc3d3081c49bc49349baec81b19d6123 /spec/javascripts | |
| parent | b26655162a122294b936051d07b14dc65148eabf (diff) | |
| download | chouette-core-2520e91fb2ffe616b6cc5067a2d971726217eeb2.tar.bz2 | |
Refs #2891: fix teaspoon tests, updating submitMover context
Diffstat (limited to 'spec/javascripts')
| -rw-r--r-- | spec/javascripts/time_table/reducers/metas_spec.js | 9 |
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', () => { |
