Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a description for the respond_with matcher

  • Loading branch information...
commit a97a2dad358685ff2853a419c392029a1d38e832 1 parent 2b8d59f
@jferris jferris authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.