Exemplo n.º 1
0
 public void TestUndeployService()
 {
     Context.Configuration.AddService("my-service", "dummy-svc");
     _driver.UndeployService("my-service");
     Shell.Commands[0].ShouldBe("docker network disconnect my-service-network my-service");
     Shell.Commands[1].ShouldBe("docker stop my-service");
     Shell.Commands.Count.ShouldBe(2);
 }
Exemplo n.º 2
0
 public void TestUndeployService()
 {
     _driver.UndeployService("my-service");
     Shell.LastCommand.ShouldBe("docker stop my-service");
 }