github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/integration/v7/push/targeting_test.go (about) 1 package push 2 3 import ( 4 "code.cloudfoundry.org/cli/integration/helpers" 5 . "github.com/onsi/ginkgo" 6 ) 7 8 var _ = Describe("targeting the correct environment", func() { 9 var ( 10 appName string 11 ) 12 13 BeforeEach(func() { 14 appName = helpers.PrefixedRandomName("app") 15 }) 16 17 When("the environment is not setup correctly", func() { 18 It("fails with the appropriate errors", func() { 19 helpers.CheckEnvironmentTargetedCorrectly(true, true, organization, PushCommandName, appName) 20 }) 21 }) 22 })