spec/support/fake_api.rb in finapps-2.0.29 vs spec/support/fake_api.rb in finapps-2.0.30

- old
+ new

@@ -15,9 +15,11 @@ post('/v2/orders/invalid_token') { json_response 404, 'resource_not_found.json' } get('/v2/orders/:id') { json_response 200, 'resource.json' } get('/v2/list/orders/:page/:requested/:sort/:asc') { json_response 200, 'orders.json' } get('/v2/orders/valid_id/report.:format') { json_response 200, 'order_report.json' } get('/v2/orders/invalid_id/report.:format') { json_response 404, 'resource_not_found.json' } + get('/v2/orders/valid_id/status') { json_response 200, 'order_status.json' } + get('/v2/orders/invalid_id/status') { json_response 404, 'resource_not_found.json' } put('/v2/orders/invalid_id') { json_response 404, 'resource_not_found.json' } put('/v2/orders/valid_id') do request.body.rewind request_payload = JSON.parse request.body.read if request_payload['accounts'] == 'valid_account'