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 209f1dc86a..3b04aa193f 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7222,8 +7222,9 @@ Cache-Control) and/or validation (Last-Modified, ETag) information.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "ruby" "-Ilib" "-r" "rack/test"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "ruby" "-Ilib" "-r" "rack/test")))))))
(propagated-inputs
(list ruby-rack))
(synopsis "Testing API for Rack applications")