guix_mirror_bot pushed a commit to branch ruby-team in repository guix. commit 834143c662d3750dd5f60dc465f4c97b54d98514 Author: Nicolas Graves <ngra...@ngraves.fr> AuthorDate: Fri Jan 31 09:20:04 2025 +0100
gnu: ruby-rubocop-rspec: Fix tests. * gnu/packages/ruby.scm (ruby-rubocop-rspec): [arguments]: Inherit from ruby-rubocop-rspec-minimal. [propagated-inputs]: Add ruby-rubocop-factory-bot. Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com> --- gnu/packages/ruby.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 19ee19a775..1b72539dc4 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2115,7 +2115,11 @@ enforcing & linting tool.") (define-public ruby-rubocop-rspec (package (inherit ruby-rubocop-rspec-minimal) - (arguments '(#:test-target "spec")) + (arguments + (substitute-keyword-arguments + (package-arguments ruby-rubocop-rspec-minimal) + ((#:tests? _ #f) #t) + ((#:test-target _ "test") "spec"))) (native-inputs (list ruby-bump ruby-rack @@ -2127,7 +2131,8 @@ enforcing & linting tool.") (propagated-inputs (list ruby-rubocop ruby-rubocop-ast - ruby-rubocop-capybara)))) + ruby-rubocop-capybara + ruby-rubocop-factory-bot)))) (define-public ruby-rubocop-packaging (package