aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-14 17:00:22 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-28 22:22:15 -0400
commit1cb558d9810bf6ab460ef3eba75a855c505a4c38 (patch)
treeb5930c582f2dd42af176cdc3474bf1c92bc9fb3a /gnu
parent2ccb9e002d9f97412be3c9c0cd80f5990e5ec3e9 (diff)
downloadguix-1cb558d9810bf6ab460ef3eba75a855c505a4c38.tar.gz
guix-1cb558d9810bf6ab460ef3eba75a855c505a4c38.zip
gnu: ruby-cucumber-html-formatter: Honor #:tests? argument.
* gnu/packages/ruby.scm (ruby-cucumber-html-formatter) [arguments]: Honor #:tests? in check phase override.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm5
1 files 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")