File: 0002-Don-t-change-LOAD_PATH-in-tests.patch

package info (click to toggle)
ruby-buff-config 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 208 kB
  • ctags: 58
  • sloc: ruby: 474; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 465 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Hleb Valoshka <375gnu@gmail.com>
Date: Fri, 31 Jul 2015 12:25:28 +0300
Subject: Don't change LOAD_PATH in tests

---
 spec/spec_helper.rb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 641fae5..7882886 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,3 @@
-$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
-
 require 'rspec'
 require 'buff/ruby_engine'
 require 'json_spec'