Commit 86ce4363 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix QA test subject address by configuring capybara

parent 61c5f1bc
...@@ -8,6 +8,7 @@ module QA ...@@ -8,6 +8,7 @@ module QA
include Bootable include Bootable
def perform(address, *files) def perform(address, *files)
Specs::Config.act { configure_capybara! }
Runtime::Scenario.define(:gitlab_address, address) Runtime::Scenario.define(:gitlab_address, address)
## ##
......
...@@ -9,6 +9,8 @@ require 'selenium-webdriver' ...@@ -9,6 +9,8 @@ require 'selenium-webdriver'
module QA module QA
module Specs module Specs
class Config < Scenario::Template class Config < Scenario::Template
include Scenario::Actable
def perform def perform
configure_rspec! configure_rspec!
configure_capybara! configure_capybara!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment