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

package info (click to toggle)
ruby-varia-model 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 164 kB
  • ctags: 45
  • sloc: ruby: 782; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 446 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 11:58:18 +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 f699d1b..fa1f809 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'