Bug 1845269
Summary: | Review Request: rubygem-minitest-stub-const - Stub constants for the duration of a block in MiniTest | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pavel Valena <pvalena> |
Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | package-review, vondruch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-06-10 12:01:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pavel Valena
2020-06-08 19:25:12 UTC
Sorry, I forgot to fill in Description: Stub constants for the duration of a block in MiniTest. Thanks, I must've missed that as the require is inconsistent with the gem name (minitest/stub_const), so I was looking for minitest-stub_const at first... (In reply to Pavel Valena from comment #3) > I was looking for minitest-stub_const at first... Maybe something to discuss upstream: https://guides.rubygems.org/name-your-gem/ But checking the source code of the gem, it seems there is possible [1]: ~~~ require 'minitest/stub/const' ~~~ as well as ~~~ require 'minitest/stub_const' ~~~ So you probably want to change this on consumer side. [1]: https://github.com/adammck/minitest-stub-const/pull/3 (In reply to Vít Ondruch from comment #4) > So you probably want to change this on consumer side. Sure, I'll look into that. Thanks! |