Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-18 15:10:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-18 15:10:03 +0300
commit38a1a6cb91bd4cd95d18db9a4bfd219bfb75401b (patch)
tree7b3d217aa21180af6256b99a8a6ba76775edd4b8 /spec/controllers/projects
parente6779ab919283efbd93a0e3ed2356c58b19f9c93 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/projects')
-rw-r--r--spec/controllers/projects/services_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/projects/services_controller_spec.rb b/spec/controllers/projects/services_controller_spec.rb
index f8474ab1082..bd8a4da76ae 100644
--- a/spec/controllers/projects/services_controller_spec.rb
+++ b/spec/controllers/projects/services_controller_spec.rb
@@ -44,10 +44,10 @@ RSpec.describe Projects::ServicesController do
let(:project) { create(:project) }
context 'with chat notification service' do
- let(:service) { project.create_microsoft_teams_service(webhook: 'http://webhook.com') }
+ let(:service) { project.create_microsoft_teams_integration(webhook: 'http://webhook.com') }
it 'returns success' do
- allow_any_instance_of(::MicrosoftTeams::Notifier).to receive(:ping).and_return(true)
+ allow_next(::MicrosoftTeams::Notifier).to receive(:ping).and_return(true)
put :test, params: project_params