Commit 6fa08788 authored by Dan Davison's avatar Dan Davison

Merge branch 'qa-saml-group-git-http-access-test-ce' into 'master'

CE port of "Add test for git http operations for SSO enforced SAML group"

See merge request gitlab-org/gitlab-ce!29550
parents 8a153abd 886b86e7
......@@ -18,7 +18,11 @@ module QA
end
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
attribute :repository_ssh_location do
......
......@@ -44,6 +44,10 @@ module QA
"/groups/#{path}"
end
def api_members_path
"#{api_get_path}/members"
end
def api_post_path
'/groups'
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