added rails test for assert_selector
This commit is contained in:
parent
a32ec70d7f
commit
fd860a2e6d
@ -40,4 +40,9 @@ class WebratTest < ActionController::IntegrationTest
|
|||||||
visit root_path
|
visit root_path
|
||||||
assert_have_xpath "//h1"
|
assert_have_xpath "//h1"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "should be able to assert selector" do
|
||||||
|
visit root_path
|
||||||
|
assert_have_selector "h1"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user