This project is archived and is in readonly mode.

#4523 ✓resolved
David Chelimsky

add NullResolver for testing

Reported by David Chelimsky | May 2nd, 2010 @ 04:04 PM | in 3.0.2

In addition to exposing the FixtureResolver (per #4522), a NullResolver that always resolves to a valid template is a very helpful tool for testing extensions that don't know the runtime state of the file system.

This is extracted from rspec-rails, which uses it to optionally test controllers in isolation from the views they render.

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>

Referenced by

Pages