Use new context rm command for e2e
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
parent
1d3ffc0254
commit
5a2a5f5f60
|
|
@ -50,7 +50,7 @@ func main() {
|
||||||
NewDockerCommand("context", "create", "test-example", "example").ExecOrDie()
|
NewDockerCommand("context", "create", "test-example", "example").ExecOrDie()
|
||||||
//Expect(output).To(ContainSubstring("test-example context acitest created"))
|
//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() {
|
It("uses the test context", func() {
|
||||||
currentContext := NewCommand("docker", "context", "use", "test-example").ExecOrDie()
|
currentContext := NewCommand("docker", "context", "use", "test-example").ExecOrDie()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue