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

package info (click to toggle)
ruby-actionpack-action-caching 1.2.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 288 kB
  • sloc: ruby: 864; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix FTBFS with ruby-mocha 2
Author: Vivek K J <vivekkj@disroot.org>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090862
Last-Update: 2024-12-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/test/caching_test.rb
+++ b/test/caching_test.rb
@@ -1,5 +1,6 @@
 require "abstract_unit"
-require "mocha/setup"
+# require "mocha/setup"
+require 'mocha/minitest'
 
 CACHE_DIR = "test_cache"
 # Don't change "../tmp" cavalierly or you might hose something you don't want hosed