fixing typos

This commit is contained in:
Mike Gaffney 2008-12-27 17:48:31 -06:00
parent a954b02b22
commit f864bbde52

View File

@ -166,12 +166,12 @@ describe Webrat::Matchers do
assert_contain(/hello, world/) assert_contain(/hello, world/)
end end
it "should throw an exception when it the body doesnt contain the text" do it "should throw an exception when the body doesnt contain the text" do
require 'test/unit' require 'test/unit'
lambda {assert_contain("monkeys")}.should raise_error(Test::Unit::AssertionFailure) lambda {assert_contain("monkeys")}.should raise_error(Test::Unit::AssertionFailure)
end end
it "should throw an exception when it the body doesnt contain the regexp" do it "should throw an exception when the body doesnt contain the regexp" do
require 'test/unit' require 'test/unit'
lambda {assert_contain(/monkeys/)}.should raise_error(Test::Unit::AssertionFailure) lambda {assert_contain(/monkeys/)}.should raise_error(Test::Unit::AssertionFailure)
end end
@ -186,12 +186,12 @@ describe Webrat::Matchers do
assert_not_contain(/monkeys/) assert_not_contain(/monkeys/)
end end
it "should throw an exception when it the body does contain the text" do it "should throw an exception when the body does contain the text" do
require 'test/unit' require 'test/unit'
lambda {assert_not_contain("hello, world")}.should raise_error(Test::Unit::AssertionFailure) lambda {assert_not_contain("hello, world")}.should raise_error(Test::Unit::AssertionFailure)
end end
it "should throw an exception when it the body does contain the regexp" do it "should throw an exception when the body does contain the regexp" do
require 'test/unit' require 'test/unit'
lambda {assert_not_contain(/hello, world/)}.should raise_error(Test::Unit::AssertionFailure) lambda {assert_not_contain(/hello, world/)}.should raise_error(Test::Unit::AssertionFailure)
end end