public void TestUndeployApp() { Context.Configuration.AddApp("my-app", "dummy-framework", "dummy-runtime"); _driver.UndeployApp("my-app"); Shell.Commands[0].ShouldBe("docker network disconnect my-app-network my-app"); Shell.Commands[1].ShouldBe("docker stop my-app"); Shell.Commands.Count.ShouldBe(2); }
public void TestUndeployApp() { _driver.UndeployApp("my-app"); Shell.LastCommand.ShouldBe("docker stop my-app"); }