diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-09-26 10:49:53 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-09-26 12:47:48 +0200 |
commit | a019369409e38ee6cb36e5782cefd8c944b12e53 (patch) | |
tree | 17e76f5075a6c51512523dc77fc6a6d60089373b /spec | |
parent | 923ad9a9e2ffca550a06d0cbbd89ac6f276c4605 (diff) | |
download | gitlab-ce-a019369409e38ee6cb36e5782cefd8c944b12e53.tar.gz |
Expose avatar_url when requesting list of projects from API with simple=truedm-simple-project-avatar-url
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/api/environments_spec.rb | 1 | ||||
-rw-r--r-- | spec/requests/api/projects_spec.rb | 1 | ||||
-rw-r--r-- | spec/requests/api/v3/projects_spec.rb | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/spec/requests/api/environments_spec.rb b/spec/requests/api/environments_spec.rb index 2361809e0e1..f8cd529a06c 100644 --- a/spec/requests/api/environments_spec.rb +++ b/spec/requests/api/environments_spec.rb @@ -20,6 +20,7 @@ describe API::Environments do path path_with_namespace star_count forks_count created_at last_activity_at + avatar_url ) get api("/projects/#{project.id}/environments", user) diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb index 508df990952..18f6f7df1fa 100644 --- a/spec/requests/api/projects_spec.rb +++ b/spec/requests/api/projects_spec.rb @@ -193,6 +193,7 @@ describe API::Projects do path path_with_namespace star_count forks_count created_at last_activity_at + avatar_url ) get api('/projects?simple=true', user) diff --git a/spec/requests/api/v3/projects_spec.rb b/spec/requests/api/v3/projects_spec.rb index cae2c3118da..e5282c3311f 100644 --- a/spec/requests/api/v3/projects_spec.rb +++ b/spec/requests/api/v3/projects_spec.rb @@ -89,6 +89,7 @@ describe API::V3::Projects do path path_with_namespace star_count forks_count created_at last_activity_at + avatar_url ) get v3_api('/projects?simple=true', user) |