usageText := command.Usage() Expect(usageText).To(Equal(`Updates load balancer(s) with the supplied certificate, key, and optional chain --cert Path to SSL certificate --key Path to SSL certificate key [--chain] Path to SSL certificate chain (optional) [--skip-if-missing] Skips updating load balancer(s) if it is not attached (optional)`)) }) }) }) Describe("Delete LBs", func() { 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)