diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-12-22 16:12:35 -0200 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-12-22 16:16:10 -0200 |
commit | 6dc3efdd9896156b5b08c735f1639437ff874fc0 (patch) | |
tree | 84439f5c67e3b10a51e89461e24e6aabc8628779 /spec/support/slack_mattermost_notifications_shared_examples.rb | |
parent | 47550d092f0a6cbedc58752d1a220fe519b8ea01 (diff) | |
download | gitlab-ce-6dc3efdd9896156b5b08c735f1639437ff874fc0.tar.gz |
Do not override incoming webhook channel for mattermost and slack
Diffstat (limited to 'spec/support/slack_mattermost_notifications_shared_examples.rb')
-rw-r--r-- | spec/support/slack_mattermost_notifications_shared_examples.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/slack_mattermost_notifications_shared_examples.rb b/spec/support/slack_mattermost_notifications_shared_examples.rb index 8582aea5fe5..74d9b8c6313 100644 --- a/spec/support/slack_mattermost_notifications_shared_examples.rb +++ b/spec/support/slack_mattermost_notifications_shared_examples.rb @@ -105,7 +105,7 @@ RSpec.shared_examples 'slack or mattermost notifications' do allow(chat_service).to receive(:username).and_return(username) expect(Slack::Notifier).to receive(:new). - with(webhook_url, username: username, channel: chat_service.default_channel). + with(webhook_url, username: username). and_return( double(:slack_service).as_null_object ) |