diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2018-11-26 13:03:38 +0500 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2018-11-26 13:04:48 +0500 |
commit | de75aa3116ff8a85cc8302fef12a4fedecb6a008 (patch) | |
tree | 09f01adf3bdd66ce0f53a19d02ad2be960d91369 /qa | |
parent | 553a65df04fc4720ad8abbe2606118766595b807 (diff) | |
download | gitlab-ce-de75aa3116ff8a85cc8302fef12a4fedecb6a008.tar.gz |
More back porting
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/resource/group.rb | 4 | ||||
-rw-r--r-- | qa/qa/resource/sandbox.rb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/qa/qa/resource/group.rb b/qa/qa/resource/group.rb index dce15e4f10b..a7a6f931e28 100644 --- a/qa/qa/resource/group.rb +++ b/qa/qa/resource/group.rb @@ -51,6 +51,10 @@ module QA "/groups/#{CGI.escape("#{sandbox.path}/#{path}")}" end + def api_members_path + "#{api_get_path}/members" + end + def api_post_path '/groups' end diff --git a/qa/qa/resource/sandbox.rb b/qa/qa/resource/sandbox.rb index 3274c0865e5..41ce857a8b8 100644 --- a/qa/qa/resource/sandbox.rb +++ b/qa/qa/resource/sandbox.rb @@ -7,7 +7,7 @@ module QA # creating it if it doesn't yet exist. # class Sandbox < Base - attr_accessor :path + attr_reader :path attribute :id |