File: fix_test_path

package info (click to toggle)
ruby-html2haml 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 256 kB
  • sloc: ruby: 1,577; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 694 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
22
23
24
Author: Gunnar Wolf <gwolf@debian.org>
Forwarded: not-needed
Last-Update: 2013-05-23
Description: Explicitly declare 'test' in the tests' search path

Index: git/test/html2haml_test.rb
===================================================================
--- git.orig/test/html2haml_test.rb
+++ git/test/html2haml_test.rb
@@ -1,4 +1,5 @@
 # encoding: UTF-8
+$: << './test'
 require 'test_helper'
 
 class Html2HamlTest < MiniTest::Unit::TestCase
Index: git/test/erb_test.rb
===================================================================
--- git.orig/test/erb_test.rb
+++ git/test/erb_test.rb
@@ -1,3 +1,4 @@
+$: << './test'
 require 'test_helper'
 
 class ErbTest < MiniTest::Unit::TestCase