Subject: [bug#78826] [PATCH 70/88] gnu: ruby-rspec-given: Skip failing tests.

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

* gnu/packages/ruby-xyz.scm (ruby-spec-given)[arguments]{phases}:
Refresh phase ruby-rspec-given.
---
 gnu/packages/ruby-xyz.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index f168c7bf63..3f1ad79436 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -495,13 +495,17 @@ (define-public ruby-rspec-given
                (("sh \"rspec")
                 "sh \"rspec -Ilib:examples"))))
          (add-after 'extract-gemspec 'delete-failing-tests
-           ;; See: https://github.com/jimweirich/rspec-given/issues/57.
+           ;; See: https://github.com/jimweirich/rspec-given/issues/57
+           ;; and https://github.com/rspec-given/rspec-given/issues/32
            (lambda _
              (substitute* ".gemspec"
+               (("\"spec/lib/given/line_extractor_spec.rb\".freeze, ")
+                "")
                (("\"spec/lib/given/natural_assertion_spec.rb\".freeze, ")
                 "")
                (("\"examples/integration/failing_messages_spec.rb\".freeze, ")
                 ""))
+             (delete-file "spec/lib/given/line_extractor_spec.rb")
              (delete-file "spec/lib/given/natural_assertion_spec.rb")
              (delete-file "examples/integration/failing_messages_spec.rb"))))))
     (native-inputs
-- 
2.49.0