make asserts count for assert_contain

This commit is contained in:
Amos King 2009-01-13 22:24:55 -06:00
parent ea930106b6
commit 3707262e72
1 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,7 @@ describe Webrat::Matchers do
end
describe 'asserts for xpath' do
include Test::Unit::Assertions
before(:each) do
should_receive(:response_body).and_return @body
require 'test/unit'
@ -114,6 +115,7 @@ describe Webrat::Matchers do
end
describe "asserts for selector," do
include Test::Unit::Assertions
before(:each) do
should_receive(:response_body).and_return @body
require 'test/unit'
@ -188,6 +190,7 @@ describe Webrat::Matchers do
end
describe "asserts for tags," do
include Test::Unit::Assertions
before(:each) do
should_receive(:response_body).and_return @body
require 'test/unit'
@ -254,7 +257,7 @@ describe Webrat::Matchers do
end
describe "asserts for contains," do
include Test::Unit::Assertions
include Test::Unit::Assertions
before(:each) do
should_receive(:response_body).and_return @body
require 'test/unit'