Commit 886b86e7 authored by Sanad Liaquat's avatar Sanad Liaquat

Port changes from EE branch qa-saml-group-git-http-access-test

parent 4c26b2f2
...@@ -18,7 +18,11 @@ module QA ...@@ -18,7 +18,11 @@ module QA
end end
attribute :path_with_namespace do attribute :path_with_namespace do
"#{group.sandbox.path}/#{group.path}/#{name}" if group "#{sandbox_path}#{group.path}/#{name}" if group
end
def sandbox_path
group.respond_to?('sandbox') ? "#{group.sandbox.path}/" : ''
end end
attribute :repository_ssh_location do attribute :repository_ssh_location do
......
...@@ -44,6 +44,10 @@ module QA ...@@ -44,6 +44,10 @@ module QA
"/groups/#{path}" "/groups/#{path}"
end end
def api_members_path
"#{api_get_path}/members"
end
def api_post_path def api_post_path
'/groups' '/groups'
end end
......
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