Avoid Selenium test bleed by ending with an assertion about the next page

This commit is contained in:
Bryan Helmkamp 2009-11-13 21:17:41 -05:00
parent 1ce72b6912
commit fcde80f43f
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ class WebratTest < ActionController::IntegrationTest
check "TOS"
select "January"
click_button "Test"
assert_contain "OK"
end
test "should check the value of a field" do