Skip to content

Add `api` prefix as a top level route in the spec.

Bob Van Landuyt requested to merge bvl-fix-api-in-path-regex into master

Since 33dc5171, the word api is no longer in the rails routes, but it still needs to be a reserved word. This adds it to the spec again.

This fixes failures like this one: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/24314583

Related: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12932

Edited by Bob Van Landuyt

Merge request reports