Explorar el Código

Test anonymous volumes are removed with containers

Eric Mc Sween hace 6 años
padre
commit
14e1e02a68
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      services/clsi/test/unit/js/DockerRunnerTests.js

+ 2 - 2
services/clsi/test/unit/js/DockerRunnerTests.js

@@ -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()
         }