Skip to content

Commit 9ca4ff3

Browse files
committed
corrected pull error test
1 parent ce1adbc commit 9ca4ff3

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

test/instances/post/201.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,9 @@ describe('201 POST /instances', {timeout:500}, function () {
243243
beforeEach(function (done) {
244244
extend(ctx.expected, {
245245
containers: exists,
246-
'containers[0]': exists,
247-
'containers[0].ports': exists,
248-
'containers[0].dockerHost': exists,
249-
'containers[0].dockerContainer': exists,
250-
'containers[0].inspect.State.Running': true
246+
'containers[0].error.message': exists,
247+
'containers[0].error.stack': exists,
248+
'containers[0].error.imageIsPulling': true
251249
});
252250
Dockerode.prototype.createContainer = forceImageNotFoundOnCreateErrOnce(Dockerode.prototype.createContainer);
253251
done();

0 commit comments

Comments
 (0)