This project is archived and is in readonly mode.

#1308 ✓resolved
Jeffrey Hardy

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

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

Pages