Skip to content

Commit

Permalink
[api tests] update pipeline tests to grab id from object keys instead…
Browse files Browse the repository at this point in the history
… of array index
  • Loading branch information
jbudz committed Aug 9, 2016
1 parent 13bdc52 commit b3c6a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/api/ingest/_post.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ define(function (require) {
method: 'GET'
})
.then(function (body) {
expect(body.pipelines[0].id).to.be('kibana-logstash-*');
expect(body).to.have.property('kibana-logstash-*');
});
});
});
Expand Down

0 comments on commit b3c6a13

Please sign in to comment.