Test anonymous volumes are removed with containers

This commit is contained in:
Eric Mc Sween 2020-09-04 11:34:08 -04:00
parent 1c13f6fe94
commit 14e1e02a68

View file

@ -802,7 +802,7 @@ describe('DockerRunner', function () {
(err) => {
this.fakeContainer.remove.callCount.should.equal(1)
this.fakeContainer.remove
.calledWithMatch({ force: true })
.calledWith({ force: true, v: true })
.should.equal(true)
return done()
}
@ -816,7 +816,7 @@ describe('DockerRunner', function () {
(err) => {
this.fakeContainer.remove.callCount.should.equal(1)
this.fakeContainer.remove
.calledWithMatch({ force: false })
.calledWith({ force: false, v: true })
.should.equal(true)
return done()
}