module Apipie::ResponseValidationHelpers
instrument the ‘process’ method in ActionController::TestCase to enable response validation
Public Instance Methods
Source
# File lib/apipie/rspec/response_validation_helper.rb, line 164 def process(*, **) result = super validate_response if @is_response_validation_on result end
Calls superclass method
Source
# File lib/apipie/rspec/response_validation_helper.rb, line 171 def validate_response controller.send(:validate_response_and_abort_with_info_if_errors) end