spec/support/fake_api.rb in finapps-2.2.16 vs spec/support/fake_api.rb in finapps-2.2.17
- old
+ new
@@ -129,9 +129,12 @@
json_response(400, 'invalid_request_body.json')
end
end
put('/v2/tenant/invalid_user_id/password') { json_response 404, 'resource_not_found.json' }
+ # products
+ get('/v2/products') { json_response 200, 'products.json' }
+
# relevance
get('/v2/relevance/ruleset/names') { json_response 200, 'relevance_ruleset_names.json' }
# errors
get('/v2/client_error') { json_response 400, 'error.json' }