diff --git a/tests/e2e/e2e.go b/tests/e2e/e2e.go index 838f6154..3b706487 100644 --- a/tests/e2e/e2e.go +++ b/tests/e2e/e2e.go @@ -50,7 +50,7 @@ func main() { NewDockerCommand("context", "create", "test-example", "example").ExecOrDie() //Expect(output).To(ContainSubstring("test-example context acitest created")) }) - defer NewCommand("docker", "context", "rm", "test-example", "-f").ExecOrDie() + defer NewDockerCommand("context", "rm", "test-example").ExecOrDie() It("uses the test context", func() { currentContext := NewCommand("docker", "context", "use", "test-example").ExecOrDie()