File: test-fix.patch

package info (click to toggle)
ruby-test-construct 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 176 kB
  • ctags: 42
  • sloc: ruby: 762; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 618 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Fix require issue in test.
Author: Alexander Gerasiov <gq@debian.org>
Last-Update: 2015-02-19
Index: ruby-test-construct-2.0.0/test/test_construct_test.rb
===================================================================
--- ruby-test-construct-2.0.0.orig/test/test_construct_test.rb	2015-02-19 01:31:27.000000000 +0300
+++ ruby-test-construct-2.0.0/test/test_construct_test.rb	2015-02-19 01:33:29.782286977 +0300
@@ -1,4 +1,4 @@
-require 'test_helper'
+require (File.dirname(File.realdirpath(__FILE__)) + '/test_helper.rb')
 
 class TestConstructTest < Minitest::Test
   include TestConstruct::Helpers