Skip to content

Commit

Permalink
fixing typos
Browse files Browse the repository at this point in the history
  • Loading branch information
gaffo committed Dec 27, 2008
1 parent a954b02 commit f864bbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/api/matchers_spec.rb
Expand Up @@ -166,12 +166,12 @@
assert_contain(/hello, world/)
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'
lambda {assert_contain("monkeys")}.should raise_error(Test::Unit::AssertionFailure)
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'
lambda {assert_contain(/monkeys/)}.should raise_error(Test::Unit::AssertionFailure)
end
Expand All @@ -186,12 +186,12 @@
assert_not_contain(/monkeys/)
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'
lambda {assert_not_contain("hello, world")}.should raise_error(Test::Unit::AssertionFailure)
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'
lambda {assert_not_contain(/hello, world/)}.should raise_error(Test::Unit::AssertionFailure)
end
Expand Down

0 comments on commit f864bbd

Please sign in to comment.