diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-04-18 10:50:04 +0100 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-04-18 15:33:57 +0100 |
commit | 7696191e330337ab5fac207bf24aa13d211a0ded (patch) | |
tree | 0bf4707a863fec40481ec0c1d71f3c442a95176c /app/models/project_services/chat_notification_service.rb | |
parent | 554d29749326bdf9bc9ec7723311195dd1a42e9b (diff) | |
download | gitlab-ce-7696191e330337ab5fac207bf24aa13d211a0ded.tar.gz |
disables test settings on chat notification services when repository is empty31009-disable-test-settings-on-services-when-repository-is-empty
Diffstat (limited to 'app/models/project_services/chat_notification_service.rb')
-rw-r--r-- | app/models/project_services/chat_notification_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/chat_notification_service.rb b/app/models/project_services/chat_notification_service.rb index fa782c6fbb7..f2dfb87dbda 100644 --- a/app/models/project_services/chat_notification_service.rb +++ b/app/models/project_services/chat_notification_service.rb @@ -22,7 +22,7 @@ class ChatNotificationService < Service end def can_test? - valid? + super && valid? end def self.supported_events |