[rspec-users] [rails] expecting <"edit"> but rendering with <"">.

Chris Habgood
Tue, 24 May 2011 20:25:06 -0000

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/rspec-users/attachments/20110524/ec91f1bf/attachment.html>