Browse files

Added a description for the respond_with matcher

  • Loading branch information...
1 parent 2b8d59f commit a97a2dad358685ff2853a419c392029a1d38e832 @jferris jferris committed Mar 3, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/shoulda/action_controller/matchers/respond_with_matcher.rb
View
4 lib/shoulda/action_controller/matchers/respond_with_matcher.rb
@@ -37,6 +37,10 @@ def failure_message
def negative_failure_message
"Did not expect #{expectation}"
end
+
+ def description
+ "respond with #{@status}"
+ end
protected

0 comments on commit a97a2da

Please sign in to comment.