Describe("Usage", func() { It("returns string describing usage", func() { command := commands.DeleteLBs{} usageText := command.Usage() Expect(usageText).To(Equal(`Deletes load balancer(s) [--skip-if-missing] Skips deleting load balancer(s) if it is not attached (optional)`)) }) }) }) Describe("Destroy", func() { Describe("Usage", func() { It("returns string describing usage", func() { command := commands.Destroy{} usageText := command.Usage() Expect(usageText).To(Equal(`Tears down BOSH director infrastructure [--no-confirm] Do not ask for confirmation (optional) [--skip-if-missing] Gracefully exit if there is no state file (optional)`)) }) }) }) Describe("Usage", func() { Describe("Usage", func() { It("returns string describing usage", func() { command := commands.Usage{} usageText := command.Usage() Expect(usageText).To(Equal(`Prints helpful message for the given command`)) })