diff options
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 |