[rspec-users] Failure Messages in RSpec

Jay Levitt lists-rspec at shopwatch.org
Tue Sep 4 17:19:15 EDT 2007

Chad Humphries wrote:
> I generally write custom expectation matchers when I want more  
> specific information on failure scenarios.  Granted this might not  
> work in all scenarios (taking time to write a custom matcher I mean),  
> but for most things it has made it very nice.

Hmm, I wonder if rspec_on_rails should come with a custom be_valid 
matcher that shows .errors?  I can't think of a case where that would be 


More information about the rspec-users mailing list