summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2018-08-15 16:06:35 -0500
committerRobert Speicher <rspeicher@gmail.com>2018-08-15 16:06:35 -0500
commit9fc978490edb79a6dd8a5adc977f72acbb8ddefc (patch)
tree3575b5e769d1757bf975dff1bb10a756afcba067
parent53853660ff6056ecc7baf159c8b152ec4374e670 (diff)
downloadgitlab-shell-9fc978490edb79a6dd8a5adc977f72acbb8ddefc.tar.gz
Require gitlab_init from spec_helper
This defines `ROOT_PATH`, which we later stub.
-rw-r--r--spec/spec_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 7b7b1b7..8549818 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -5,6 +5,8 @@ require 'vcr'
require 'webmock'
require 'webrick'
+require 'gitlab_init'
+
VCR.configure do |c|
c.cassette_library_dir = 'spec/vcr_cassettes'
c.hook_into :webmock