| Class | ActiveMatchers::Matchers::ResponseMatchers::NotFoundMatcher |
| In: |
lib/matchers/response_matchers.rb
|
| Parent: | Object |
# File lib/matchers/response_matchers.rb, line 53
53: def failure_message
54: "Response should have had a status of 404 Not Found, but had #{@response.response_code}."
55: end
# File lib/matchers/response_matchers.rb, line 48
48: def matches?(response)
49: @response = response
50: response.response_code == 404
51: end