Commit 9799d363 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix QA test subject address by configuring capybara

parent c07c6a5f
...@@ -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