summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-11-17 11:23:31 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-11-17 11:23:31 +0100
commit9799d363db7e54f615853b5e1428453ff8bbc2da (patch)
tree38ca193b5578120e8a571ce4d75ef21b55c66350 /qa
parentc07c6a5f075c69cda894ddd35b808fa1dc8bf85f (diff)
downloadgitlab-ce-9799d363db7e54f615853b5e1428453ff8bbc2da.tar.gz
Fix QA test subject address by configuring capybaraqa/gb/fix-subject-address-in-factories
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/scenario/entrypoint.rb1
-rw-r--r--qa/qa/specs/config.rb2
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!