instrument the 'process' method in ActionController::TestCase to enable response validation
# File lib/apipie/rspec/response_validation_helper.rb, line 164 def process(*args) result = super(*args) validate_response if @is_response_validation_on result end
# File lib/apipie/rspec/response_validation_helper.rb, line 171 def validate_response controller.send(:validate_response_and_abort_with_info_if_errors) end