1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 02:20:53 +02:00

gnu: ruby-rspec-given: Skip failing tests.

* gnu/packages/ruby-xyz.scm (ruby-spec-given)[arguments]{phases}:
Refresh phase ruby-rspec-given.
This commit is contained in:
Nicolas Graves 2025-06-18 16:27:57 +02:00 committed by Andreas Enge
parent 30db9629e2
commit beb50dbfe6
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -495,13 +495,17 @@ ascending order")
(("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