added click link test to selenium

This commit is contained in:
Amos King 2009-01-13 22:35:58 -06:00
parent 2510e7d43d
commit 0aa5fda61d

View File

@ -23,4 +23,10 @@ class WebratTest < ActionController::IntegrationTest
visit external_redirect_path visit external_redirect_path
assert response.redirect? assert response.redirect?
end end
test "should click link by text" do
visit internal_redirect_path
click_link "Test Link Text"
assert_contain("Webrat Form")
end
end end