diff --git a/spec/integration/rails/test/selenium/webrat_test.rb b/spec/integration/rails/test/selenium/webrat_test.rb index 81f8f5a..16d027d 100644 --- a/spec/integration/rails/test/selenium/webrat_test.rb +++ b/spec/integration/rails/test/selenium/webrat_test.rb @@ -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