I am currently writing functional tests for my controller, and I want to check if a line
This is a test line
appears on my page.I tried using
assert_select "p" do
assert_select "this is the test line"
end
but i think something is wrong with this line.
What is the best way to do this in rails version 3?