summaryrefslogtreecommitdiff
path: root/qa/qa/specs/config.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-11-10 12:50:49 +0000
committerRémy Coutable <remy@rymai.me>2017-11-10 12:50:49 +0000
commit65faebb95556809c5858347f1c24422505056827 (patch)
tree758405d95ceb48279bc51289fcd255ee22bf5e6b /qa/qa/specs/config.rb
parent58dd9d73ab51c74bca354ae632b252db8def4e41 (diff)
parent2c468dfdafbeded7c8d5f2dc70e09d3595efa542 (diff)
downloadgitlab-ce-65faebb95556809c5858347f1c24422505056827.tar.gz
Merge branch 'qa/gb/rspec-decouple-test-instance-address' into 'master'
Decouple QA test subject's address from Capybara/RSpec Closes gitlab-qa#88 See merge request gitlab-org/gitlab-ce!15310
Diffstat (limited to 'qa/qa/specs/config.rb')
-rw-r--r--qa/qa/specs/config.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/qa/qa/specs/config.rb b/qa/qa/specs/config.rb
index 79c681168cc..591ddde8ab9 100644
--- a/qa/qa/specs/config.rb
+++ b/qa/qa/specs/config.rb
@@ -9,15 +9,7 @@ require 'selenium-webdriver'
module QA
module Specs
class Config < Scenario::Template
- attr_writer :address
-
- def initialize
- @address = ENV['GITLAB_URL']
- end
-
def perform
- raise 'Please configure GitLab address!' unless @address
-
configure_rspec!
configure_capybara!
end
@@ -56,7 +48,6 @@ module QA
end
Capybara.configure do |config|
- config.app_host = @address
config.default_driver = :chrome
config.javascript_driver = :chrome
config.default_max_wait_time = 4