Commit 3e44aac0 authored by tiagonbotelho's avatar tiagonbotelho

fixes test according to four-phase test pattern

parent 563b303b
No preview for this file type
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment