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

View File

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