<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,7 +8,7 @@ require 'shoulda'
 load 'tasks/shoulda.rake'
 
 # Test::Unit::UI::VERBOSE
-test_files_pattern = 'test/{unit,functional,other}/**/*_test.rb'
+test_files_pattern = 'test/{unit,functional,other,matchers}/**/*_test.rb'
 Rake::TestTask.new do |t|
   t.libs &lt;&lt; 'lib'
   t.pattern = test_files_pattern</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -78,7 +78,7 @@ module Shoulda # :nodoc:
           if @scopes.blank?
             true
           else
-            @scopes.each do |scope|
+            @scopes.all? do |scope|
               previous_value = @existing.send(scope)
 
               # Assume the scope is a foreign key if the field is nil
@@ -88,7 +88,14 @@ module Shoulda # :nodoc:
 
               @subject.send(&quot;#{scope}=&quot;, next_value)
 
-              allows_value_of(existing_value, @expected_message)
+              if allows_value_of(existing_value, @expected_message)
+                @negative_failure_message &lt;&lt; 
+                  &quot; (with different value of #{scope})&quot;
+                true
+              else
+                @failure_message &lt;&lt; &quot; (with different value of #{scope})&quot;
+                false
+              end
             end
           end
         end</diff>
      <filename>lib/shoulda/active_record/matchers/require_unique_attribute_matcher.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ef6ffc98deb82fd8a5212a57e7d581428a492241</id>
    </parent>
  </parents>
  <author>
    <name>Joe Ferris</name>
    <email>joe.r.ferris@gmail.com</email>
  </author>
  <url>http://github.com/thoughtbot/shoulda/commit/3c6fb6e0b306f5b06058fac35c1c60b4f4754102</url>
  <id>3c6fb6e0b306f5b06058fac35c1c60b4f4754102</id>
  <committed-date>2009-01-27T15:01:30-08:00</committed-date>
  <authored-date>2009-01-22T15:22:11-08:00</authored-date>
  <message>Fixed failing matcher tests</message>
  <tree>0126fe7a609be757f1b17a118961547940514c36</tree>
  <committer>
    <name>Joe Ferris</name>
    <email>joe.r.ferris@gmail.com</email>
  </committer>
</commit>
