diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 17:36:22 +0100 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 17:36:22 +0100 |
commit | 3e44aac08dc744915b932a0a7bed0d3f3ab3ab6b (patch) | |
tree | 3275e9e31ff93f4cc9ae1a9ba7c6407031f90fa3 | |
parent | 563b303bde6701fc91351701db651e8da68f9b80 (diff) | |
download | gitlab-ce-3e44aac08dc744915b932a0a7bed0d3f3ab3ab6b.tar.gz |
fixes test according to four-phase test pattern
-rw-r--r-- | lib/api/.projects.rb.swn | bin | 28672 -> 28672 bytes | |||
-rw-r--r-- | spec/requests/api/projects_spec.rb | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/.projects.rb.swn b/lib/api/.projects.rb.swn Binary files differindex 890811564d2..6a9e5f146ea 100644 --- a/lib/api/.projects.rb.swn +++ b/lib/api/.projects.rb.swn 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 |