diff options
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 |