The right way is page.should have_selector. See the README Query Section for more documentation.
(There is no method called rendered(which I know), but responseexists in Capybara::Driver::RackTest, but I'm not sure how to use it - I never need it.)
source
share