Skip to content
Snippets Groups Projects

Dropdown loading time preformance fix

Merged Tiago Botelho requested to merge tiagonbotelho/gitlab-ce:dropdown-load-fix into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -82,10 +82,11 @@
end
context 'GET /projects?simple=true' do
it 'should return a simplified version of all the projects' do
it 'returns a simplified version of all the projects' do
expected_keys = ["id", "http_url_to_repo", "web_url", "name", "name_with_namespace", "path", "path_with_namespace"]
get api('/projects?simple=true', user)
expect(response).to have_http_status(200)
expect(json_response).to be_an Array
expect(json_response.first.keys).to match_array expected_keys
Loading