<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -56,13 +56,13 @@ describe &quot;contain&quot; do
       it &quot;should throw an exception when the body doesnt contain the text&quot; do
         lambda {
           assert_contain(&quot;monkeys&quot;)
-        }.should raise_error(Test::Unit::AssertionFailedError)
+        }.should raise_error(AssertionFailedError)
       end
 
       it &quot;should throw an exception when the body doesnt contain the regexp&quot; do
         lambda {
           assert_contain(/monkeys/)
-        }.should raise_error(Test::Unit::AssertionFailedError)
+        }.should raise_error(AssertionFailedError)
       end
     end
 
@@ -78,13 +78,13 @@ describe &quot;contain&quot; do
       it &quot;should throw an exception when the body does contain the text&quot; do
         lambda {
           assert_not_contain(&quot;hello, world&quot;)
-        }.should raise_error(Test::Unit::AssertionFailedError)
+        }.should raise_error(AssertionFailedError)
       end
 
       it &quot;should throw an exception when the body does contain the regexp&quot; do
         lambda {
           assert_not_contain(/hello, world/)
-        }.should raise_error(Test::Unit::AssertionFailedError)
+        }.should raise_error(AssertionFailedError)
       end
     end
   end</diff>
      <filename>spec/public/matchers/contain_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -122,7 +122,7 @@ describe &quot;have_selector&quot; do
       it &quot;should throw an exception when the body doesnt have matching selection&quot; do
         lambda {
           assert_have_selector(&quot;p&quot;)
-        }.should raise_error(Test::Unit::AssertionFailedError)
+        }.should raise_error(AssertionFailedError)
       end
     end
 
@@ -134,7 +134,7 @@ describe &quot;have_selector&quot; do
       it &quot;should throw an exception when the body does contain the selection&quot; do
         lambda {
           assert_have_no_selector(&quot;div&quot;)
-        }.should raise_error(Test::Unit::AssertionFailedError)
+        }.should raise_error(AssertionFailedError)
       end
     end
   end</diff>
      <filename>spec/public/matchers/have_selector_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -117,7 +117,7 @@ describe &quot;have_xpath&quot; do
       it &quot;should throw an exception when the body doesnt have matching xpath&quot; do
         lambda {
           assert_have_xpath(&quot;//p&quot;)
-        }.should raise_error(Test::Unit::AssertionFailedError)
+        }.should raise_error(AssertionFailedError)
       end
     end
 
@@ -129,7 +129,7 @@ describe &quot;have_xpath&quot; do
       it &quot;should throw an exception when the body does contain the xpath&quot; do
         lambda {
           assert_have_no_xpath(&quot;//div&quot;)
-        }.should raise_error(Test::Unit::AssertionFailedError)
+        }.should raise_error(AssertionFailedError)
       end
     end
   end</diff>
      <filename>spec/public/matchers/have_xpath_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,6 +8,8 @@ begin require &quot;redgreen&quot; unless ENV['TM_CURRENT_LINE']; rescue LoadError; end
 webrat_path = File.expand_path(File.dirname(__FILE__) + &quot;/../lib/&quot;)
 $LOAD_PATH.unshift(webrat_path) unless $LOAD_PATH.include?(webrat_path)
 
+AssertionFailedError = Test::Unit::AssertionFailedError rescue MiniTest::Assertion # ruby1.9 compat
+
 require &quot;webrat&quot;
 require File.expand_path(File.dirname(__FILE__) + &quot;/fakes/test_session&quot;)
 </diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>987766b10d9b4e2c940ea206a56376c84ea68225</id>
    </parent>
  </parents>
  <author>
    <name>Kamal Fariz Mahyuddin</name>
    <email>kamal.fariz@gmail.com</email>
  </author>
  <url>http://github.com/brynary/webrat/commit/d9ebabf4614089e1c19703a237fd1c81eb0864c6</url>
  <id>d9ebabf4614089e1c19703a237fd1c81eb0864c6</id>
  <committed-date>2009-08-11T23:52:01-07:00</committed-date>
  <authored-date>2009-08-11T23:52:01-07:00</authored-date>
  <message>Ruby 1.9-compat - test for MiniTest::Assertion instead of T::U::AssertionFailedError </message>
  <tree>91e53869476a7e8284d8d6c2669bb24b83e7fd48</tree>
  <committer>
    <name>Kamal Fariz Mahyuddin</name>
    <email>kamal.fariz@gmail.com</email>
  </committer>
</commit>
