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.
This commit is contained in:
parent
2a067bb37c
commit
ad46c8878b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue