[rspec-users] view specs with partials

David Chelimsky dchelimsky at gmail.com
Wed Nov 29 01:35:02 EST 2006


On 11/28/06, Micah Martin <micah at 8thlight.com> wrote:
> That did the trick.  Thanks Pat.
>
>
> Micah Martin
>
> On Nov 28, 2006, at 5:40 PM, Pat Maddox wrote:
>
> Basically in the mean time, just do
> render :partial => "controller_name/partial_name"
>
> So like if the partial is named "person" and it's under the "people"
> views dir, it'd be
> render :partial => "people/person"
>
> That'll work until we get it fixed in the plugin.

We got it fixed in the plugin. In trunk (rev 1174).

Cheers,
David

>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
>


More information about the rspec-users mailing list