KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In my spec_helper.rb file I have specifically set it to config.render_views but the response.body I get back is still empty. Here is my basic spec describe "#index" do it "should list all rooms" do get 'index' stub(Person).all end it "responds with 200 response code" do response.should be_ok end it "renders the index template" do pp response.body response.should render_template("people/index") end end Is there anything else that could have shorted this behavior? It's fine when I go through the browser. I am on Rspec 2.5.0
Tags (comma-separated)
Save Edits
Cancel