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 ...@@ -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