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>2022-03-03 18:16:42 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-03 18:16:42 +0300
commit42afc4d656c20b2b9f909579097000c162eaf3a6 (patch)
tree5b119109904aa5cd2bce9a859bd7954ac5164cc7 /spec/features/file_uploads
parentaaa65d324933a1f7e380c0f05a7b87fb3fe2e4b7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/file_uploads')
-rw-r--r--spec/features/file_uploads/user_avatar_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/file_uploads/user_avatar_spec.rb b/spec/features/file_uploads/user_avatar_spec.rb
index c30e3452201..34cfb4a4128 100644
--- a/spec/features/file_uploads/user_avatar_spec.rb
+++ b/spec/features/file_uploads/user_avatar_spec.rb
@@ -26,7 +26,7 @@ RSpec.describe 'Upload a user avatar', :js do
expect(page).to have_content 'Profile was successfully updated'
expect(user.reload.avatar.file).to be_present
expect(user.avatar).to be_instance_of AvatarUploader
- expect(current_path).to eq(profile_path)
+ expect(page).to have_current_path(profile_path, ignore_query: true)
end
end