This project is archived and is in readonly mode.
Really silence Gem spec warnings when running tests
Reported by Jeffrey Hardy | October 31st, 2008 @ 06:20 AM | in 2.x
The GemDependency test tries to quiet spec warnings by setting VendorGemSourceIndex.silence_spec_warnings to true, but because the GemDependency gets loaded afterwards (and in turn loads VendorGemSourceIndex), the setting gets overwritten. This patch moves the setting of the option below GemDependency so it takes effect.
Also removes the superfluous require. GemDependency loads VendorGemSourceIndex for us.
Comments and changes to this ticket
-
Repository October 31st, 2008 @ 05:46 PM
- State changed from new to resolved
(from [408c7227575e0c395a45605783cade1ba3b51e02]) Really silence spec warnings when running GemDependency tests [#1308 state:resolved]
Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 1308 Really silence Gem spec warnings when running tests (from [408c7227575e0c395a45605783cade1ba3b51e02]) Really ...