Skip to content

Commit

Permalink
fix help usage test
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Pannemans <[email protected]>
  • Loading branch information
2 people authored and modulo11 committed Nov 5, 2024
1 parent 301e96b commit f968a40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions integration/v7/push/help_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down
5 changes: 2 additions & 3 deletions integration/v7/push/tasks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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))
})
})

Expand All @@ -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() {
Expand Down

0 comments on commit f968a40

Please sign in to comment.