summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/api/.projects.rb.swnbin28672 -> 28672 bytes
-rw-r--r--spec/requests/api/projects_spec.rb1
2 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/.projects.rb.swn b/lib/api/.projects.rb.swn
index 890811564d2..6a9e5f146ea 100644
--- a/lib/api/.projects.rb.swn
+++ b/lib/api/.projects.rb.swn
Binary files differ
diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb
index 23b0a2a8885..d7c0f60048b 100644
--- a/spec/requests/api/projects_spec.rb
+++ b/spec/requests/api/projects_spec.rb
@@ -84,6 +84,7 @@ describe API::API, api: true do
context 'GET /projects?simple=true' do
it 'should return 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", "permissions"]
+
get api('/projects?simple=true', user)
expect(response).to have_http_status(200)
expect(json_response).to be_an Array