File: fix_tests.patch

package info (click to toggle)
ruby-colorize 0.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 144 kB
  • sloc: ruby: 290; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Jonas Genannt <jonas.genannt@capi2name.de>
Description: fix autopkgtest, do not require from the source path
Forwarded: not-needed

--- ruby-colorize.orig/test/test_colorize.rb
+++ ruby-colorize/test/test_colorize.rb
@@ -1,8 +1,5 @@
-require 'codeclimate-test-reporter'
-CodeClimate::TestReporter.start
-
 require 'minitest/autorun'
-require File.dirname(__FILE__) + '/../lib/colorize'
+require 'colorize'
 
 class TestColorize < Minitest::Test
   def test_blue_symbol