Author: donaldp
Date: Sat May 19 01:18:15 2012
New Revision: 1340330

URL: http://svn.apache.org/viewvc?rev=1340330&view=rev
Log:
Update matcher to conform with rspec latest requirements

Modified:
    buildr/trunk/spec/spec_helpers.rb

Modified: buildr/trunk/spec/spec_helpers.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/spec/spec_helpers.rb?rev=1340330&r1=1340329&r2=1340330&view=diff
==============================================================================
--- buildr/trunk/spec/spec_helpers.rb (original)
+++ buildr/trunk/spec/spec_helpers.rb Sat May 19 01:18:15 2012
@@ -251,7 +251,11 @@ unless defined?(SpecHelpers)
       end
 
       def description
-        "URI with path matching #{@expression}"
+        "URI with path matching #{@expression} vs #{@uri}"
+      end
+
+      def failure_message_for_should
+        "expected #{description}"
       end
     end
 


Reply via email to