diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-09 15:08:01 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-09 15:08:01 +0200 |
commit | fefa98b21a228163bf7ab250ed5f5352eb60497a (patch) | |
tree | 7df66716d9c618e4a3e90effe0facf49ad95362a /app/models | |
parent | 0b5d627cd4a3f81934e7772e3558356c9dd2e3cf (diff) | |
download | gitlab-ce-fefa98b21a228163bf7ab250ed5f5352eb60497a.tar.gz |
Make rspec start
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/project_services/ci/hip_chat_service.rb | 2 | ||||
-rw-r--r-- | app/models/project_services/ci/mail_service.rb | 2 | ||||
-rw-r--r-- | app/models/project_services/ci/slack_service.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/models/project_services/ci/hip_chat_service.rb b/app/models/project_services/ci/hip_chat_service.rb index 68acf71251e..0e6e97394bc 100644 --- a/app/models/project_services/ci/hip_chat_service.rb +++ b/app/models/project_services/ci/hip_chat_service.rb @@ -13,7 +13,7 @@ # module Ci - class HipChatService < Service + class HipChatService < Ci::Service prop_accessor :hipchat_token, :hipchat_room, :hipchat_server boolean_accessor :notify_only_broken_builds validates :hipchat_token, presence: true, if: :activated? diff --git a/app/models/project_services/ci/mail_service.rb b/app/models/project_services/ci/mail_service.rb index 3619a50fa96..1bd2f33612b 100644 --- a/app/models/project_services/ci/mail_service.rb +++ b/app/models/project_services/ci/mail_service.rb @@ -13,7 +13,7 @@ # module Ci - class MailService < Service + class MailService < Ci::Service delegate :email_recipients, :email_recipients=, :email_add_pusher, :email_add_pusher=, :email_only_broken_builds, :email_only_broken_builds=, to: :project, prefix: false diff --git a/app/models/project_services/ci/slack_service.rb b/app/models/project_services/ci/slack_service.rb index c9a7f865a25..76db573dc17 100644 --- a/app/models/project_services/ci/slack_service.rb +++ b/app/models/project_services/ci/slack_service.rb @@ -13,7 +13,7 @@ # module Ci - class SlackService < Service + class SlackService < Ci::Service prop_accessor :webhook boolean_accessor :notify_only_broken_builds validates :webhook, presence: true, if: :activated? |