Codebase list ruby-gitlab / f23e9859-9a47-4d02-b103-e8d074f6c5ed/main debian / patches / use-installed-libraries.patch
f23e9859-9a47-4d02-b103-e8d074f6c5ed/main

Tree @f23e9859-9a47-4d02-b103-e8d074f6c5ed/main (Download .tar.gz)

use-installed-libraries.patch @f23e9859-9a47-4d02-b103-e8d074f6c5ed/main

a423c09
 
 
 
488646b
a423c09
 
 
 
 
488646b
 
acc1a81
488646b
 
 
acc1a81
 
488646b
 
 
 
 
 
From: Sophie Brun <sophie@freexian.com>
Date: Thu, 21 Sep 2017 16:14:38 +0200
Subject: Use installed libraries

---
 spec/spec_helper.rb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 7591dd7..a83e462 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -3,8 +3,9 @@
 require 'rspec'
 require 'webmock/rspec'
 
-require File.expand_path('../lib/gitlab', __dir__)
-require File.expand_path('../lib/gitlab/cli', __dir__)
+$:.unshift File.expand_path('../../lib', __FILE__)
+require 'gitlab'
+require 'gitlab/cli'
 
 def capture_output
   out = StringIO.new