mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +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:
parent
30db9629e2
commit
beb50dbfe6
1 changed files with 5 additions and 1 deletions
|
@ -495,13 +495,17 @@ ascending order")
|
||||||
(("sh \"rspec")
|
(("sh \"rspec")
|
||||||
"sh \"rspec -Ilib:examples"))))
|
"sh \"rspec -Ilib:examples"))))
|
||||||
(add-after 'extract-gemspec 'delete-failing-tests
|
(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 _
|
(lambda _
|
||||||
(substitute* ".gemspec"
|
(substitute* ".gemspec"
|
||||||
|
(("\"spec/lib/given/line_extractor_spec.rb\".freeze, ")
|
||||||
|
"")
|
||||||
(("\"spec/lib/given/natural_assertion_spec.rb\".freeze, ")
|
(("\"spec/lib/given/natural_assertion_spec.rb\".freeze, ")
|
||||||
"")
|
"")
|
||||||
(("\"examples/integration/failing_messages_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 "spec/lib/given/natural_assertion_spec.rb")
|
||||||
(delete-file "examples/integration/failing_messages_spec.rb"))))))
|
(delete-file "examples/integration/failing_messages_spec.rb"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue