Commit ad46c887 authored by Bob Van Landuyt's avatar Bob Van Landuyt

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

Now that it has been removed from the rails routes. But it still needs
to be a reserved top-level word, so the tests should know about this.
parent 2a067bb3
......@@ -86,7 +86,7 @@ describe Gitlab::PathRegex, lib: true do
route.split('/')[1]
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
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