From 1cb558d9810bf6ab460ef3eba75a855c505a4c38 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 14 Mar 2023 17:00:22 -0400 Subject: 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(-) (limited to 'gnu') 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") -- cgit v1.2.3