diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-27 15:08:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-27 15:08:51 +0000 |
commit | 1ea1db491c8bc90789acda45c9002aaa5c4dc498 (patch) | |
tree | 46d974fed38f2ea63e69bad9d43760c62611c958 /spec/requests/user_avatar_spec.rb | |
parent | 22e9af3c8b8aedf7f46b786be968862b74a2d07e (diff) | |
download | gitlab-ce-1ea1db491c8bc90789acda45c9002aaa5c4dc498.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/user_avatar_spec.rb')
-rw-r--r-- | spec/requests/user_avatar_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/user_avatar_spec.rb b/spec/requests/user_avatar_spec.rb index 9451674161c..66c7ce4d533 100644 --- a/spec/requests/user_avatar_spec.rb +++ b/spec/requests/user_avatar_spec.rb @@ -19,7 +19,7 @@ describe 'Loading a user avatar' do it 'only performs three SQL queries' do get user.avatar_url # Skip queries on first application load - expect(response).to have_gitlab_http_status(200) + expect(response).to have_gitlab_http_status(:ok) expect { get user.avatar_url }.not_to exceed_query_limit(3) end end @@ -29,7 +29,7 @@ describe 'Loading a user avatar' do it 'only performs two SQL queries' do get user.avatar_url # Skip queries on first application load - expect(response).to have_gitlab_http_status(200) + expect(response).to have_gitlab_http_status(:ok) expect { get user.avatar_url }.not_to exceed_query_limit(2) end end |