aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascripts
diff options
context:
space:
mode:
authorjpl2017-07-24 17:23:51 +0200
committerjpl2017-07-24 17:23:51 +0200
commit2f2c89c66e533bfe593185c7fe29e214920591ae (patch)
treeb68c3da63f45b5bc2ba56224d16cdab669d552d1 /spec/javascripts
parentc50c6e8aa696be7fee854033acd3491309ade7aa (diff)
downloadchouette-core-2f2c89c66e533bfe593185c7fe29e214920591ae.tar.bz2
Updating onUpdate behav. according to new specs
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/itineraries/reducers/stop_points_spec.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/spec/javascripts/itineraries/reducers/stop_points_spec.js b/spec/javascripts/itineraries/reducers/stop_points_spec.js
index 93fe85d36..6eae5d5b4 100644
--- a/spec/javascripts/itineraries/reducers/stop_points_spec.js
+++ b/spec/javascripts/itineraries/reducers/stop_points_spec.js
@@ -16,6 +16,7 @@ describe('stops reducer', () => {
{
text: 'first',
index: 0,
+ stoppoint_id: 72,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -27,6 +28,7 @@ describe('stops reducer', () => {
{
text: 'second',
index: 1,
+ stoppoint_id: 73,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -54,6 +56,7 @@ describe('stops reducer', () => {
{
text: 'first',
index: 0,
+ stoppoint_id: 72,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -65,6 +68,7 @@ describe('stops reducer', () => {
{
text: 'second',
index: 1,
+ stoppoint_id: 73,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -99,6 +103,7 @@ describe('stops reducer', () => {
{
text: 'second',
index: 1,
+ stoppoint_id: 72,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -110,6 +115,7 @@ describe('stops reducer', () => {
{
text: 'first',
index: 0,
+ stoppoint_id: 73,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -133,6 +139,7 @@ describe('stops reducer', () => {
{
text: 'second',
index: 1,
+ stoppoint_id: 72,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -144,6 +151,7 @@ describe('stops reducer', () => {
{
text: 'first',
index: 0,
+ stoppoint_id: 73,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -167,6 +175,7 @@ describe('stops reducer', () => {
{
text: 'first',
index: 0,
+ stoppoint_id: 72,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -205,8 +214,8 @@ describe('stops reducer', () => {
text: 'new value',
name: 'new',
index: 0,
+ stoppoint_id: 72,
edit: false,
- stoppoint_id: '',
stoparea_id: 1,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -226,6 +235,7 @@ describe('stops reducer', () => {
{
text: 'second',
index: 1,
+ stoppoint_id: 73,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -251,6 +261,7 @@ describe('stops reducer', () => {
{
text: 'first',
index: 0,
+ stoppoint_id: 72,
edit: false,
for_boarding: 'prohibited',
for_alighting: 'normal',
@@ -262,6 +273,7 @@ describe('stops reducer', () => {
{
text: 'second',
index: 1,
+ stoppoint_id: 73,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -285,6 +297,7 @@ describe('stops reducer', () => {
{
text: 'first',
index: 0,
+ stoppoint_id: 72,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -293,6 +306,7 @@ describe('stops reducer', () => {
json: {
text: 'first',
index: 0,
+ stoppoint_id: 72,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -303,6 +317,7 @@ describe('stops reducer', () => {
{
text: 'second',
index: 1,
+ stoppoint_id: 73,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -326,6 +341,7 @@ describe('stops reducer', () => {
{
text: 'first',
index: 0,
+ stoppoint_id: 72,
edit: true,
for_boarding: 'normal',
for_alighting: 'normal',
@@ -337,6 +353,7 @@ describe('stops reducer', () => {
{
text: 'second',
index: 1,
+ stoppoint_id: 73,
edit: false,
for_boarding: 'normal',
for_alighting: 'normal',