Found a way to solve it. Apparently this is much easier than I thought:
describe "welcome/index.html.erb" do
it "displays a welcome message" do
render
rendered.should have_selector "h1"
end
end
Apparently I just have to say render
inside the "it" block. This solves the problem for me.