module GdsApi::TestHelpers::Router
def stub_route_registration(path, type, backend_id)
def stub_route_registration(path, type, backend_id) route = { route: { incoming_path: path, route_type: type, handler: 'backend', backend_id: backend_id } } register_stub = stub_route_put(route) commit_stub = stub_router_commit [register_stub, commit_stub] end