me
/
guix
Archived
1
0
Fork 0

gnu: ruby-shoulda-context: Honor #:tests?.

* gnu/packages/ruby.scm (ruby-shoulda-context)
[arguments]: Honor #:tests? in check phase.
master
Maxim Cournoyer 2023-03-17 22:06:10 -04:00
parent 05d00e585e
commit d2b8af9b82
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 5 additions and 4 deletions

View File

@ -10091,10 +10091,11 @@ engine.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; Do not run tests to avoid circular dependence with rails.
;; Instead just import the library to test.
(invoke "ruby" "-Ilib" "-r" "shoulda-context"))))))
(invoke "ruby" "-Ilib" "-r" "shoulda-context")))))))
(synopsis "Test::Unit context framework extracted from Shoulda")
(description
"@code{shoulda-context} is the context framework extracted from Shoulda.