added rails test for assert_selector

This commit is contained in:
Amos King 2009-01-13 22:48:06 -06:00
parent a32ec70d7f
commit fd860a2e6d

View File

@ -40,4 +40,9 @@ class WebratTest < ActionController::IntegrationTest
visit root_path
assert_have_xpath "//h1"
end
test "should be able to assert selector" do
visit root_path
assert_have_selector "h1"
end
end