summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-03-21 22:39:15 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-03-21 22:46:55 +0800
commit0e01c54b7c8685c66df7c7d2521fa38738427cc7 (patch)
treed1d6354dbabc9bc917d5203d98c401282e3fd8d1
parent1a5bf902a45695916ae1771190cb57a6a8402df0 (diff)
downloadgitlab-ce-add-ee-images-ce.tar.gz
Explicitly disallow them in the testadd-ee-images-ce
-rw-r--r--spec/lib/gitlab/path_regex_spec.rb4
1 files 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