File: fix-test-for-mocha-2.patch

package info (click to toggle)
ruby-gelf 3.1.0-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 244 kB
  • sloc: ruby: 1,039; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 547 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix FTBFS with ruby-mocha 2
Author: Vivek K J <vivekkj@disroot.org>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090866
Last-Update: 2024-12-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,7 +1,9 @@
 require 'rubygems'
 require 'test/unit'
 require 'shoulda'
-require 'mocha/setup'
+# require 'mocha/setup'
+require 'mocha/test_unit'
+
 
 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
 $LOAD_PATH.unshift(File.dirname(__FILE__))