mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-21 16:45:58 +02:00
gnu: Add ruby-minitest-mock.
* gnu/packages/ruby-check.scm (ruby-minitest-mock): New variable. Change-Id: I01daba991f013d3e2b8c31041a89f68ce64f6ec3 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
committed by
Andreas Enge
parent
8bd9ee54d9
commit
868380170d
@@ -796,6 +796,30 @@ MiniTest @code{Object#stub} with a global @code{stub} method.")
|
||||
(home-page "https://github.com/dockyard/minitest-moar")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-minitest-mock
|
||||
(package
|
||||
(name "ruby-minitest-mock")
|
||||
(version "5.27.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "minitest-mock" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1c2m99b9hgvhyhzv0nxjqlgymr0vmxpalzlq41lrcyj1hmqysh3h"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments (list #:tests? #f)) ; tests not bundled in gem
|
||||
(native-inputs (list ruby-hoe ruby-hoe-git2))
|
||||
(synopsis "Tiny mock (and stub) object framework")
|
||||
(description "@code{Minitest Mock} implements a mock and stub framework
|
||||
for Minitest. This gem provides:
|
||||
@enumerate
|
||||
@item Stubs for returning canned responses
|
||||
@item Mocks for defining function expectations
|
||||
@end enumerate")
|
||||
(home-page "https://minite.st/")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-multi-test
|
||||
(package
|
||||
(name "ruby-multi-test")
|
||||
|
||||
Reference in New Issue
Block a user