File: clean_test_helper.patch

package info (click to toggle)
ruby-graphviz 1.2.5-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,220 kB
  • sloc: ruby: 7,685; xml: 26; makefile: 17
file content (21 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: no bundler, no loadpath modification, load open3
Author: Cédric Boutillier <boutil@debian.org>
Forwarded: no
Last-Update: 2016-06-07

--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,12 +1,7 @@
-require 'rubygems'
-require 'bundler/setup'
 require 'test/unit'
 require 'pathname'
+require 'open3'
 
-cur = Pathname.new(File.expand_path("..", __FILE__))
-lib = cur.join('..', 'lib')
-
-$LOAD_PATH.unshift(lib.to_s, cur.to_s)
 require 'graphviz'
 require 'graphviz/theory'
 require 'graphviz/math/matrix'