Commit c68f8333 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'bvl-fix-api-in-path-regex' into 'master'

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

See merge request !13077
parents 1ba3e2a6 ad46c887
...@@ -86,7 +86,7 @@ describe Gitlab::PathRegex, lib: true do ...@@ -86,7 +86,7 @@ describe Gitlab::PathRegex, lib: true do
route.split('/')[1] route.split('/')[1]
end.compact.uniq end.compact.uniq
words + ee_top_level_words + files_in_public words + ee_top_level_words + files_in_public + Array(API::API.prefix.to_s)
end end
let(:ee_top_level_words) do let(:ee_top_level_words) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment