File: 0008-Fix-FTBFS-require-mocha-test_unit-explicitly.patch

package info (click to toggle)
ruby-fakeweb 1.3.0%2Bgit20170806%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 464 kB
  • sloc: ruby: 2,058; sh: 24; makefile: 3
file content (22 lines) | stat: -rw-r--r-- 630 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Youhei SASAKI <uwabami@gfd-dennou.org>
Date: Sun, 27 Apr 2025 12:27:28 +0900
Subject: Fix FTBFS require mocha/test_unit explicitly (Closes: #1100303)
Forwarded: not-needed

Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
---
 test/test_helper.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/test_helper.rb b/test/test_helper.rb
index dccd2ee..a50cc54 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -13,6 +13,7 @@ begin
 rescue LoadError
   require 'mocha'
 end
+require 'mocha/test_unit'
 
 # Give all tests a common setup and teardown that prevents shared state
 class Test::Unit::TestCase