From 0e01c54b7c8685c66df7c7d2521fa38738427cc7 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Wed, 21 Mar 2018 22:39:15 +0800 Subject: Explicitly disallow them in the test --- spec/lib/gitlab/path_regex_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/gitlab/path_regex_spec.rb b/spec/lib/gitlab/path_regex_spec.rb index a40330d853f..9ec0f0f18e7 100644 --- a/spec/lib/gitlab/path_regex_spec.rb +++ b/spec/lib/gitlab/path_regex_spec.rb @@ -98,7 +98,7 @@ describe Gitlab::PathRegex do end let(:ee_top_level_words) do - ['unsubscribes'] + %w[unsubscribes header_logo_dark.png header_logo_light.png] end let(:files_in_public) do @@ -107,7 +107,7 @@ describe Gitlab::PathRegex do .split("\n") .map { |entry| entry.gsub('public/', '') } .uniq - tracked + %w(assets uploads) + tracked + %w[assets uploads] end # All routes that start with a namespaced path, that have 1 or more -- cgit v1.2.1