diff options
author | Brett Walker <bwalker@gitlab.com> | 2018-01-11 13:13:18 +0100 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2018-01-22 17:25:10 +0100 |
commit | b8189816214e817605082516e9d8b604dc851d58 (patch) | |
tree | 2b8c0b79e56d40ff2c4da7f6a99aaf5a15b6cafd | |
parent | 926108a3535cfe3261b047d4a51df449055d11e1 (diff) | |
download | gitlab-ce-b8189816214e817605082516e9d8b604dc851d58.tar.gz |
move requires for matchers and gems into qa.rb since it's the first file loaded
-rw-r--r-- | qa/qa.rb | 8 | ||||
-rw-r--r-- | qa/qa/specs/runner.rb | 3 |
2 files changed, 4 insertions, 7 deletions
@@ -1,5 +1,9 @@ $: << File.expand_path(File.dirname(__FILE__)) +require 'rspec/core' +require 'faraday' +require_relative 'qa/support/matchers/have_gitlab_api_status' + module QA ## # GitLab QA runtime classes, mostly singletons. @@ -152,10 +156,6 @@ module QA # module Support autoload :ApiHelpers, 'qa/support/api_helpers' - - # module Matchers - # autoload :ApiHelpers, 'qa/support/matchers/have_gitlab_http_status' - # end end end diff --git a/qa/qa/specs/runner.rb b/qa/qa/specs/runner.rb index b61ae43f980..9ede404c90e 100644 --- a/qa/qa/specs/runner.rb +++ b/qa/qa/specs/runner.rb @@ -1,6 +1,3 @@ -require 'rspec/core' -require_relative '../support/matchers/have_gitlab_api_status' - module QA module Specs class Runner < Scenario::Template |