diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-11-17 11:23:31 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-11-17 11:23:31 +0100 |
commit | 9799d363db7e54f615853b5e1428453ff8bbc2da (patch) | |
tree | 38ca193b5578120e8a571ce4d75ef21b55c66350 | |
parent | c07c6a5f075c69cda894ddd35b808fa1dc8bf85f (diff) | |
download | gitlab-ce-9799d363db7e54f615853b5e1428453ff8bbc2da.tar.gz |
Fix QA test subject address by configuring capybaraqa/gb/fix-subject-address-in-factories
-rw-r--r-- | qa/qa/scenario/entrypoint.rb | 1 | ||||
-rw-r--r-- | qa/qa/specs/config.rb | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/qa/qa/scenario/entrypoint.rb b/qa/qa/scenario/entrypoint.rb index ae099fd911e..b9d924651a0 100644 --- a/qa/qa/scenario/entrypoint.rb +++ b/qa/qa/scenario/entrypoint.rb @@ -8,6 +8,7 @@ module QA include Bootable def perform(address, *files) + Specs::Config.act { configure_capybara! } Runtime::Scenario.define(:gitlab_address, address) ## diff --git a/qa/qa/specs/config.rb b/qa/qa/specs/config.rb index 9f9fe9844d2..bce7923e52d 100644 --- a/qa/qa/specs/config.rb +++ b/qa/qa/specs/config.rb @@ -9,6 +9,8 @@ require 'selenium-webdriver' module QA module Specs class Config < Scenario::Template + include Scenario::Actable + def perform configure_rspec! configure_capybara! |