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 <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-01-31 09:20:04 +01:00 committed by Andreas Enge
parent bfc253cd96
commit 83249eca3d
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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