spec/support/fake_onfido_api.rb in onfido-2.6.0 vs spec/support/fake_onfido_api.rb in onfido-2.7.0

- old
+ new

@@ -214,9 +214,21 @@ get '/v3.5/webhooks' do json_response(200, 'webhooks.json') end + post '/v3.5/workflow_runs' do + json_response(201, 'workflow_run.json') + end + + get '/v3.5/workflow_runs/:id' do + json_response(200, 'workflow_run.json') + end + + get '/v3.5/workflow_runs' do + json_response(200, 'workflow_runs.json') + end + get '/v3.5/4xx_response' do json_response(422, '4xx_response.json') end get '/v3.5/unexpected_error_format' do