diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-12-06 15:59:03 -0200 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-12-15 15:32:49 -0200 |
commit | a5ccaded656fb215f1f8d503b88c8f28bf90ce68 (patch) | |
tree | f68c114323f6d345a753f0062c1633449e76db21 /spec/models/project_services/chat_notification_service_spec.rb | |
parent | 141faaacf9119ce5d765efe73c6509030ba078cd (diff) | |
download | gitlab-ce-a5ccaded656fb215f1f8d503b88c8f28bf90ce68.tar.gz |
Change SlackService to SlackNotificationsServiceissue_22269_fix_eeissue_22269
Diffstat (limited to 'spec/models/project_services/chat_notification_service_spec.rb')
-rw-r--r-- | spec/models/project_services/chat_notification_service_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/models/project_services/chat_notification_service_spec.rb b/spec/models/project_services/chat_notification_service_spec.rb new file mode 100644 index 00000000000..b4fb1cd9ed9 --- /dev/null +++ b/spec/models/project_services/chat_notification_service_spec.rb @@ -0,0 +1,12 @@ +require 'spec_helper' + +describe ChatNotificationService, models: true do + describe "Associations" do + + before do + allow(subject).to receive(:activated?).and_return(true) + end + + it { is_expected.to validate_presence_of :webhook } + end +end |