diff --git a/integration/v7/push/help_test.go b/integration/v7/push/help_test.go index 3284592075..7503e313a3 100644 --- a/integration/v7/push/help_test.go +++ b/integration/v7/push/help_test.go @@ -26,6 +26,7 @@ var _ = Describe("help", func() { "[-b BUILDPACK_NAME]", "[-c COMMAND]", "[-f MANIFEST_PATH | --no-manifest]", + "[--lifecycle (buildpack | docker | cnb)]", "[--no-start]", "[--no-wait]", "[-i NUM_INSTANCES]", diff --git a/integration/v7/push/tasks_test.go b/integration/v7/push/tasks_test.go index 4b85976ea2..319c936eea 100644 --- a/integration/v7/push/tasks_test.go +++ b/integration/v7/push/tasks_test.go @@ -7,7 +7,6 @@ import ( . "github.com/onsi/gomega" . "github.com/onsi/gomega/gbytes" "github.com/onsi/gomega/gexec" - . "github.com/onsi/gomega/gexec" ) var _ = Describe("push with --task", func() { @@ -19,7 +18,7 @@ var _ = Describe("push with --task", func() { appName = helpers.NewAppName() helpers.WithHelloWorldApp(func(dir string) { session := helpers.CF("push", appName, "-p", dir, "--task") - Eventually(session).Should(Exit(0)) + Eventually(session).Should(gexec.Exit(0)) }) }) @@ -28,7 +27,7 @@ var _ = Describe("push with --task", func() { BeforeEach(func() { session = helpers.CF("app", appName) - Eventually(session).Should(Exit(0)) + Eventually(session).Should(gexec.Exit(0)) }) It("pushes the app without starting it", func() {