diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-03 18:16:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-03 18:16:42 +0300 |
commit | 42afc4d656c20b2b9f909579097000c162eaf3a6 (patch) | |
tree | 5b119109904aa5cd2bce9a859bd7954ac5164cc7 /spec/features/file_uploads | |
parent | aaa65d324933a1f7e380c0f05a7b87fb3fe2e4b7 (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.rb | 2 |
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 |