|
|
@ -28,7 +28,7 @@ var _ = Describe("notifications", func() {
|
|
|
|
|
|
|
|
|
|
|
|
Expect(notif.GetNames()).To(BeEmpty())
|
|
|
|
Expect(notif.GetNames()).To(BeEmpty())
|
|
|
|
})
|
|
|
|
})
|
|
|
|
When("title is overriden in flag", func() {
|
|
|
|
When("title is overridden in flag", func() {
|
|
|
|
It("should use the specified hostname in the title", func() {
|
|
|
|
It("should use the specified hostname in the title", func() {
|
|
|
|
command := cmd.NewRootCommand()
|
|
|
|
command := cmd.NewRootCommand()
|
|
|
|
flags.RegisterNotificationFlags(command)
|
|
|
|
flags.RegisterNotificationFlags(command)
|
|
|
|