diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-03 15:16:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-03 15:16:42 +0000 |
commit | 42afc4d656c20b2b9f909579097000c162eaf3a6 (patch) | |
tree | 5b119109904aa5cd2bce9a859bd7954ac5164cc7 /spec/features/tags/developer_deletes_tag_spec.rb | |
parent | aaa65d324933a1f7e380c0f05a7b87fb3fe2e4b7 (diff) | |
download | gitlab-ce-42afc4d656c20b2b9f909579097000c162eaf3a6.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/tags/developer_deletes_tag_spec.rb')
-rw-r--r-- | spec/features/tags/developer_deletes_tag_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/tags/developer_deletes_tag_spec.rb b/spec/features/tags/developer_deletes_tag_spec.rb index 7c4c6f54685..6b669695f7b 100644 --- a/spec/features/tags/developer_deletes_tag_spec.rb +++ b/spec/features/tags/developer_deletes_tag_spec.rb @@ -27,13 +27,13 @@ RSpec.describe 'Developer deletes tag', :js do context 'from a specific tag page' do it 'deletes the tag' do click_on 'v1.0.0' - expect(current_path).to eq( - project_tag_path(project, 'v1.0.0')) + expect(page).to have_current_path( + project_tag_path(project, 'v1.0.0'), ignore_query: true) container = page.find('.nav-controls') delete_tag container - expect(current_path).to eq("#{project_tags_path(project)}/") + expect(page).to have_current_path("#{project_tags_path(project)}/", ignore_query: true) expect(page).not_to have_content 'v1.0.0' end end |