[api tests] update pipeline tests to grab id from object keys instead of array index

This commit is contained in:
Jonathan Budzenski 2016-08-08 16:22:21 -05:00
parent 13bdc523a5
commit b3c6a13bad
No known key found for this signature in database
GPG key ID: D28BF9418FA0F292

View file

@ -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-*');
});
});
});