Skip to content

Commit

Permalink
Update assertion on cf continue-deployment help text
Browse files Browse the repository at this point in the history
  • Loading branch information
chinigo committed Aug 20, 2024
1 parent a6e4d15 commit bf7933c
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions integration/v7/isolated/continue_deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,21 @@ var _ = Describe("Continue Deployment", func() {

It("displays the help information", func() {
session := helpers.CF("continue-deployment", "--help")
Eventually(session).Should(Say(`NAME:`))
Eventually(session).Should(Say(`continue-deployment - Continue the most recent deployment for an app.\n`))
Eventually(session).Should(Say(`\n`))

Eventually(session).Should(Say(`USAGE:`))
Eventually(session).Should(Say(`cf continue-deployment APP_NAME\n`))
Eventually(session).Should(Say(`\n`))
Eventually(session).Should(Say(`NAME:
continue-deployment - Continue the most recent deployment for an app.
Eventually(session).Should(Say(`EXAMPLES:`))
Eventually(session).Should(Say(`cf continue-deployment my-app\n`))
Eventually(session).Should(Say(`\n`))
USAGE:
cf continue-deployment APP_NAME [--no-wait]
Eventually(session).Should(Say(`SEE ALSO:`))
Eventually(session).Should(Say(`app, push`))
EXAMPLES:
cf continue-deployment my-app
Eventually(session).Should(Exit(0))
OPTIONS:
--no-wait Exit when the first instance of the web process is healthy
SEE ALSO:
app, push`))
})
})

Expand Down

0 comments on commit bf7933c

Please sign in to comment.