added clicking link by id

This commit is contained in:
Amos King 2009-01-13 22:34:47 -06:00
parent 3902573d3e
commit 2510e7d43d
1 changed files with 6 additions and 0 deletions

View File

@ -29,4 +29,10 @@ class WebratTest < ActionController::IntegrationTest
click_link "Test Link Text"
assert_contain("Webrat Form")
end
test "should click link by id" do
visit internal_redirect_path
click_link "link_id"
assert_contain("Webrat Form")
end
end