added selenium test for assert_selector
This commit is contained in:
parent
fd860a2e6d
commit
652610381a
|
@ -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