Fix tests for
This commit is contained in:
parent
12608889e2
commit
c209e31ce1
@ -35,7 +35,7 @@ module.exports = function () {
|
|||||||
|
|
||||||
var json = JSON.parse(body);
|
var json = JSON.parse(body);
|
||||||
|
|
||||||
var hasRoute = json.code === 'ok';
|
var hasRoute = json.code === 'Ok';
|
||||||
|
|
||||||
if (hasRoute) {
|
if (hasRoute) {
|
||||||
instructions = this.wayList(json.routes[0]);
|
instructions = this.wayList(json.routes[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user