From 13867d66e92c2fd8962a126db4fbdc32891343c9 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 16 Dec 2019 09:08:10 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/features/projects/settings/integration_settings_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/features/projects/settings') diff --git a/spec/features/projects/settings/integration_settings_spec.rb b/spec/features/projects/settings/integration_settings_spec.rb index 26ea4ec5944..de987b879eb 100644 --- a/spec/features/projects/settings/integration_settings_spec.rb +++ b/spec/features/projects/settings/integration_settings_spec.rb @@ -89,12 +89,12 @@ describe 'Projects > Settings > Integration settings' do expect(current_path).to eq(integrations_path) end - context 'remove existing webhook' do + context 'delete existing webhook' do it 'from webhooks list page' do hook visit integrations_path - expect { click_link 'Remove' }.to change(ProjectHook, :count).by(-1) + expect { click_link 'Delete' }.to change(ProjectHook, :count).by(-1) end it 'from webhook edit page' do @@ -102,7 +102,7 @@ describe 'Projects > Settings > Integration settings' do visit integrations_path click_link 'Edit' - expect { click_link 'Remove' }.to change(ProjectHook, :count).by(-1) + expect { click_link 'Delete' }.to change(ProjectHook, :count).by(-1) end end end -- cgit v1.2.1