Class: Brut::SpecSupport::Matchers::HaveReturnedHttpStatus
- Inherits:
-
Object
- Object
- Brut::SpecSupport::Matchers::HaveReturnedHttpStatus
- Defined in:
- lib/brut/spec_support/matchers/have_returned_http_status.rb
Overview
Used on handler specs to check that a response returned a particular HTTP status code. Can also be used with ComponentSupport#generate_result to check that a Page's FrontEnd::Page#before_generate method did what you expect