summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-07-25 13:56:40 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-07-25 13:56:40 +0000
commitc68f83335ea195184f6891152b0bebbe4eb09ea3 (patch)
tree0d03412214e0c4098034bb06f080350cbc09cb97
parent1ba3e2a6d90c957b4979bc1e0fdacca1baf1db1b (diff)
parentad46c8878b3102f74e211ef72ff5347b89aee14c (diff)
downloadgitlab-ce-c68f83335ea195184f6891152b0bebbe4eb09ea3.tar.gz
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
-rw-r--r--spec/lib/gitlab/path_regex_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/path_regex_spec.rb b/spec/lib/gitlab/path_regex_spec.rb
index c38bbb64fc3..20be743d224 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