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

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