aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")