summaryrefslogtreecommitdiff
path: root/spec/features/projects/integrations/user_activates_issue_tracker_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-03 15:16:42 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-03 15:16:42 +0000
commit42afc4d656c20b2b9f909579097000c162eaf3a6 (patch)
tree5b119109904aa5cd2bce9a859bd7954ac5164cc7 /spec/features/projects/integrations/user_activates_issue_tracker_spec.rb
parentaaa65d324933a1f7e380c0f05a7b87fb3fe2e4b7 (diff)
downloadgitlab-ce-42afc4d656c20b2b9f909579097000c162eaf3a6.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/integrations/user_activates_issue_tracker_spec.rb')
-rw-r--r--spec/features/projects/integrations/user_activates_issue_tracker_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/integrations/user_activates_issue_tracker_spec.rb b/spec/features/projects/integrations/user_activates_issue_tracker_spec.rb
index b9c2c539899..2821f35f6a6 100644
--- a/spec/features/projects/integrations/user_activates_issue_tracker_spec.rb
+++ b/spec/features/projects/integrations/user_activates_issue_tracker_spec.rb
@@ -34,7 +34,7 @@ RSpec.describe 'User activates issue tracker', :js do
it 'activates the integration' do
expect(page).to have_content("#{tracker} settings saved and active.")
- expect(current_path).to eq(edit_project_integration_path(project, tracker.parameterize(separator: '_')))
+ expect(page).to have_current_path(edit_project_integration_path(project, tracker.parameterize(separator: '_')), ignore_query: true)
end
it 'shows the link in the menu' do
@@ -58,7 +58,7 @@ RSpec.describe 'User activates issue tracker', :js do
end
expect(page).to have_content("#{tracker} settings saved and active.")
- expect(current_path).to eq(edit_project_integration_path(project, tracker.parameterize(separator: '_')))
+ expect(page).to have_current_path(edit_project_integration_path(project, tracker.parameterize(separator: '_')), ignore_query: true)
end
end
end
@@ -73,7 +73,7 @@ RSpec.describe 'User activates issue tracker', :js do
it 'saves but does not activate the integration' do
expect(page).to have_content("#{tracker} settings saved, but not active.")
- expect(current_path).to eq(edit_project_integration_path(project, tracker.parameterize(separator: '_')))
+ expect(page).to have_current_path(edit_project_integration_path(project, tracker.parameterize(separator: '_')), ignore_query: true)
end
it 'does not show the external tracker link in the menu' do