Subject: [PATCH 25/88] gnu: ruby-insist: Fix minitest.

From: Nicolas Graves <[email-masked]>
Date: Wed, 18 Jun 2025 16:27:12 +0200

* gnu/packages/ruby-xyz.scm (ruby-insist): Fix minitest.
  [arguments]{phases}: Add phase 'patch-minitest.
---
 gnu/packages/ruby-xyz.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 72a3942336..b27f6ae692 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -4989,6 +4989,11 @@ (define-public ruby-insist
      (list
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'patch-minitest
+            (lambda _
+              (substitute* "test/testing.rb"
+                (("MiniTest")
+                 "Minitest"))))
           (replace 'check
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
-- 
2.49.0