Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Really silence Gem spec warnings when running tests

#1308

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.

Reported by Jeffrey Hardy · October 31st, 2008 @ 06:20 AM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [408c7227575e0c395a45605783cade1ba3b51e02]) Really silence spec warnings when running GemDependency tests [#1308 Really silence Gem spec warnings when running tests state:resolved]

    Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...

    October 31st, 2008 @ 05:46 PM