Fix QA test subject address by configuring capybara

This commit is contained in:
Grzegorz Bizon 2017-11-17 11:23:31 +01:00
parent c07c6a5f07
commit 9799d363db
2 changed files with 3 additions and 0 deletions

View file

@ -8,6 +8,7 @@ module QA
include Bootable
def perform(address, *files)
Specs::Config.act { configure_capybara! }
Runtime::Scenario.define(:gitlab_address, address)
##

View file

@ -9,6 +9,8 @@ require 'selenium-webdriver'
module QA
module Specs
class Config < Scenario::Template
include Scenario::Actable
def perform
configure_rspec!
configure_capybara!