apteryx pushed a commit to branch master
in repository guix.
commit 1cb558d9810bf6ab460ef3eba75a855c505a4c38
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Tue Mar 14 17:00:22 2023 -0400
gnu: ruby-cucumber-html-formatter: Honor #:tests? argument.
* gnu/packages/ruby.scm (ruby-cucumber-html-formatter)
[arguments]: Honor #:tests? in check phase override.
---
gnu/packages/ruby.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9657c3f83e..6bd5b84185 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8220,8 +8220,9 @@ system-specific @code{Meta} messages for Cucumber Ruby.")
(substitute* ".gemspec"
(("~> 18.0") "~> 21.0")))) ;cucumber-messages
(replace 'check
- (lambda _
- (invoke "rspec"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "rspec")))))))
(native-inputs (list ruby-cucumber-compatibility-kit ruby-rspec))
(propagated-inputs (list ruby-cucumber-messages))
(synopsis "HTML formatter for Cucumber")