aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascripts/reducers_spec.js
diff options
context:
space:
mode:
authorThomas Haddad2017-01-04 11:10:15 +0100
committerThomas Haddad2017-01-04 11:10:15 +0100
commit9c08e8f9f42906f9be17a8fbce7fcd83dbd51179 (patch)
tree65e132910ffadab7534f4b5ad2257539f06b309b /spec/javascripts/reducers_spec.js
parent9560056852d1d48767c5ed150bce4e3abffcca00 (diff)
parent66dc68487a6e8a826ec4d4ffcee2f34456488dea (diff)
downloadchouette-core-9c08e8f9f42906f9be17a8fbce7fcd83dbd51179.tar.bz2
Merge branch 'mission_redux'
Diffstat (limited to 'spec/javascripts/reducers_spec.js')
-rw-r--r--spec/javascripts/reducers_spec.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/javascripts/reducers_spec.js b/spec/javascripts/reducers_spec.js
index a4880e73e..253229dda 100644
--- a/spec/javascripts/reducers_spec.js
+++ b/spec/javascripts/reducers_spec.js
@@ -1,4 +1,4 @@
-var reducer = require('es6_browserified/reducers/todos')
+var reducer = require('es6_browserified/itineraries/reducers/todos')
let state = []
describe('stops reducer', () => {
beforeEach(()=>{
@@ -120,7 +120,7 @@ describe('stops reducer', () => {
})
//TODO unskip when es6 is properly functionnal
- xit('should handle UPDATE_INPUT_VALUE', () => {
+ it('should handle UPDATE_INPUT_VALUE', () => {
expect(
reducer(state, {
type: 'UPDATE_INPUT_VALUE',
@@ -149,7 +149,7 @@ describe('stops reducer', () => {
)
})
- xit('should handle UPDATE_SELECT_VALUE', () => {
+ it('should handle UPDATE_SELECT_VALUE', () => {
expect(
reducer(state, {
type :'UPDATE_SELECT_VALUE',
@@ -160,9 +160,8 @@ describe('stops reducer', () => {
).toEqual(
[
{
- text: 'new value',
+ text: 'first',
index: 0,
- stoparea_id: 1,
for_boarding: 'prohibited',
for_alighting: 'normal'
},