github.com/dcarley/cf-cli@v6.24.1-0.20170220111324-4225ff346898+incompatible/integration/isolated/delete_space_command_test.go (about)

     1  package isolated
     2  
     3  import (
     4  	"code.cloudfoundry.org/cli/integration/helpers"
     5  	. "github.com/onsi/ginkgo"
     6  	. "github.com/onsi/gomega"
     7  	. "github.com/onsi/gomega/gbytes"
     8  	. "github.com/onsi/gomega/gexec"
     9  )
    10  
    11  var _ = Describe("delete-space command", func() {
    12  	Describe("help", func() {
    13  		It("shows usage", func() {
    14  			session := helpers.CF("help", "delete-space")
    15  			Eventually(session).Should(Exit(0))
    16  			Expect(session).To(Say("delete-space SPACE \\[-o ORG\\] \\[-f\\]"))
    17  		})
    18  	})
    19  })