Class: Gitlab::QA::Scenario::Test::Integration::GroupSAML
- Inherits:
-
SAML
show all
- Defined in:
- lib/gitlab/qa/scenario/test/integration/group_saml.rb
Instance Attribute Summary
Attributes inherited from SAML
#gitlab_name, #saml_component, #spec_suite
Instance Method Summary
collapse
Methods inherited from SAML
#perform, #run_specs
perform, #perform
Constructor Details
11
12
13
14
15
|
# File 'lib/gitlab/qa/scenario/test/integration/group_saml.rb', line 11
def initialize
@gitlab_name = 'gitlab-group-saml'
@spec_suite = 'QA::EE::Scenario::Test::Integration::GroupSAML'
@saml_component = false
end
|
Instance Method Details
17
18
19
|
# File 'lib/gitlab/qa/scenario/test/integration/group_saml.rb', line 17
def before_perform(release)
raise ArgumentError, 'Group SAML is EE only feature!' unless release.ee?
end
|
21
22
23
24
25
26
|
# File 'lib/gitlab/qa/scenario/test/integration/group_saml.rb', line 21
def configure(gitlab, saml)
gitlab.omnibus_configuration << " gitlab_rails['omniauth_enabled'] = true;\n gitlab_rails['omniauth_providers'] = [{ name: 'group_saml' }];\n OMNIBUS\nend\n"
|