summaryrefslogtreecommitdiff
path: root/dev-ruby/rack-cache/files/rack-cache-1.13.0-mocha2.patch
blob: 62bd028eedf70437a4b402ade80c853f32f430bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
https://github.com/rack/rack-cache/commit/8b22b6e532ed21ba30fdfbc62907f58db052e767

From 8b22b6e532ed21ba30fdfbc62907f58db052e767 Mon Sep 17 00:00:00 2001
From: Peter Goldstein <peter.m.goldstein@gmail.com>
Date: Mon, 2 Jan 2023 06:32:20 -0500
Subject: [PATCH] Adds Ruby 3.2 to the CI matrix (#12)

* Update mocha require for modern version of mocha
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -7,7 +7,7 @@
 
 require 'maxitest/global_must'
 require 'maxitest/autorun'
-require 'mocha/setup'
+require 'mocha/minitest'
 
 # Set the MEMCACHED environment variable as follows to enable testing
 # of the MemCached meta and entity stores.