<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/shoulda/active_record/matchers.rb</filename>
    </added>
    <added>
      <filename>test/other/active_record_matchers_test.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,6 @@
 require 'shoulda'
 require 'shoulda/active_record/helpers'
+require 'shoulda/active_record/matchers'
 require 'shoulda/active_record/assertions'
 require 'shoulda/active_record/macros'
 
@@ -7,6 +8,7 @@ module Test # :nodoc: all
   module Unit
     class TestCase
       include Shoulda::ActiveRecord::Helpers
+      include Shoulda::ActiveRecord::Matchers
       include Shoulda::ActiveRecord::Assertions
       extend Shoulda::ActiveRecord::Macros
     end</diff>
      <filename>lib/shoulda/active_record.rb</filename>
    </modified>
    <modified>
      <diff>@@ -42,18 +42,18 @@ module Shoulda # :nodoc:
       else         
         assert(!collection.include?(x), msg)
       end
+    end
 
-      # Asserts that the given matcher returns true when +target+ is passed to #matches?
-      def assert_accepts(matcher, target)
-        success = matcher.matches?(target)
-        assert_block(matcher.failure_message) { success }
-      end
+    # Asserts that the given matcher returns true when +target+ is passed to #matches?
+    def assert_accepts(matcher, target)
+      success = matcher.matches?(target)
+      assert_block(matcher.failure_message) { success }
+    end
 
-      # Asserts that the given matcher returns false when +target+ is passed to #matches?
-      def assert_rejects(matcher, target)
-        success = !matcher.matches?(target)
-        assert_block(matcher.negative_failure_message) { success }
-      end
+    # Asserts that the given matcher returns false when +target+ is passed to #matches?
+    def assert_rejects(matcher, target)
+      success = !matcher.matches?(target)
+      assert_block(matcher.negative_failure_message) { success }
     end
   end
 end</diff>
      <filename>lib/shoulda/assertions.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b42493e9af25217f4ce572431f79be7b7fb81220</id>
    </parent>
  </parents>
  <author>
    <name>Joe Ferris</name>
    <email>joe.r.ferris@gmail.com</email>
  </author>
  <url>http://github.com/thoughtbot/shoulda/commit/f7e9ec5974d36bd9866ddb5419cb912ccc02ea8b</url>
  <id>f7e9ec5974d36bd9866ddb5419cb912ccc02ea8b</id>
  <committed-date>2009-01-27T15:01:27-08:00</committed-date>
  <authored-date>2008-11-08T12:27:53-08:00</authored-date>
  <message>Added a matcher for checking whether or not an instance accepts a value</message>
  <tree>139f7d17a929bf2952a381302f3018fd0408b7f8</tree>
  <committer>
    <name>Joe Ferris</name>
    <email>joe.r.ferris@gmail.com</email>
  </committer>
</commit>
