spec/support/fake_api.rb in finapps-5.1.0 vs spec/support/fake_api.rb in finapps-5.2.0

- old
+ new

@@ -500,9 +500,13 @@ # timeout get("/#{version}/orders/timeout") { status 419 } private + def resource_not_found + json_response 404, 'resource_not_found.json' + end + def json_response(response_code, file_name) http_response :json, response_code, file_name end def png_response(file_name)