On Tue, May 24, 2011 at 6:10 PM, Chris Habgood <chabg...@gmail.com> wrote:

> It is already there.
>
> On Tue, May 24, 2011 at 19:05, Justin Ko <jko...@gmail.com> wrote:
>
>>
>>
>> On Tue, May 24, 2011 at 2:25 PM, Chris Habgood <chabg...@gmail.com>wrote:
>>
>>> I keep getting "" returned when looking for a template:
>>>
>>> describe "edit action" do
>>>        it "edit action should render edit template" do
>>>          Food.stub(:find_by_id).and_return(food)
>>>          response.should render_template(:edit)
>>>        end
>>>      end
>>>
>>> _______________________________________________
>>> rspec-users mailing list
>>> rspec-users@rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>>
>>
>> Try adding "render_views":
>> http://relishapp.com/rspec/rspec-rails/v/2-6/dir/controller-specs/render-views
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "rspec" group.
>> To post to this group, send email to rs...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rspec+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/rspec?hl=en.
>>
>
>
>
> --
> *"In matters of style, swim with the current; in matters of principle,
> stand like a rock."
> Thomas Jefferson
> *
>
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>

And it works as expected in dev mode (using the browser)?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to