Class: Gitlab::QA::Scenario::Test::Instance::RelativeUrl
- Inherits:
-
Image
- Object
- Gitlab::QA::Scenario::Template
- Image
- Gitlab::QA::Scenario::Test::Instance::RelativeUrl
- Defined in:
- lib/gitlab/qa/scenario/test/instance/relative_url.rb
Instance Attribute Summary
Attributes inherited from Image
Instance Method Summary collapse
Methods inherited from Image
Methods inherited from Gitlab::QA::Scenario::Template
Constructor Details
This class inherits a constructor from Gitlab::QA::Scenario::Test::Instance::Image
Instance Method Details
#perform(release, *rspec_args) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/gitlab/qa/scenario/test/instance/relative_url.rb', line 7 def perform(release, *rspec_args) Component::Gitlab.perform do |gitlab| gitlab.release = release gitlab.network = 'test' gitlab.relative_path = '/relative' gitlab.omnibus_config = <<~OMNIBUS external_url '#{gitlab.address}' OMNIBUS gitlab.instance do Component::Specs.perform do |specs| specs.suite = 'Test::Instance::All' specs.release = gitlab.release specs.network = gitlab.network specs.args = [gitlab.address, *rspec_args] end end end end |