working on getting standardized for the specs

This commit is contained in:
Mike Gaffney 2009-01-12 23:31:14 -06:00
parent 86089d90b6
commit c1b49f36ea
2 changed files with 3 additions and 3 deletions

View File

@ -88,6 +88,7 @@ module ActionController #:nodoc:
IntegrationTest.class_eval do
include Webrat::Methods
include Webrat::Selenium::Methods
# include Webrat::Matchers
include Webrat::Selenium::Matchers
end
end

View File

@ -3,8 +3,7 @@ require 'test_helper'
class WebratTest < ActionController::IntegrationTest
test "should visit pages" do
visit root_path
assert_tag "Webrat Form"
assert response.body.include?("Webrat Form")
assert_contain("Webrat Form")
end
test "should submit forms" do
@ -17,7 +16,7 @@ class WebratTest < ActionController::IntegrationTest
test "should follow internal redirects" do
visit internal_redirect_path
assert response.body.include?("OK")
assert_contain("OK")
end
test "should not follow external redirects" do