diff --git a/spec/lib/gitlab/path_regex_spec.rb b/spec/lib/gitlab/path_regex_spec.rb index c38bbb64fc3f60140634e8c2d426a52398eabfbb..20be743d2249ec7265d9e24fad4d994e8702a2f8 100644 --- a/spec/lib/gitlab/path_regex_spec.rb +++ b/spec/lib/gitlab/path_regex_spec.rb @@ -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