File: 0001-Require-tmpdir-in-specs-clean-load_path.patch

package info (click to toggle)
ruby-mixlib-archive 0.2.0-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 156 kB
  • ctags: 22
  • sloc: ruby: 233; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 464 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Hleb Valoshka <375gnu@gmail.com>
Date: Fri, 5 Aug 2016 14:27:42 +0300
Subject: Require tmpdir in specs, clean load_path

---
 spec/spec_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index e98e7c8..d8134c5 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,2 +1,2 @@
-$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
 require "mixlib/archive"
+require "tmpdir"