summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-02-28 14:26:56 +0100
committerLin Jen-Shin <godfat@godfat.org>2019-03-04 21:09:39 +0800
commitb491e3f91b4ec6a961c37222a43ce39c009ba3b0 (patch)
tree17adaba0aff0723c742275bb9d5799f79ff6bc84 /spec/lib/gitlab
parent714c77a6fa216f9a1aa20baa6e7ea4fe6712bb29 (diff)
downloadgitlab-ce-b491e3f91b4ec6a961c37222a43ce39c009ba3b0.tar.gz
Freeze abstract templates constant in specs
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r--spec/lib/gitlab/ci/templates/templates_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/templates/templates_spec.rb b/spec/lib/gitlab/ci/templates/templates_spec.rb
index 5dad8b1ba92..fbbd58280a9 100644
--- a/spec/lib/gitlab/ci/templates/templates_spec.rb
+++ b/spec/lib/gitlab/ci/templates/templates_spec.rb
@@ -3,7 +3,7 @@
require 'spec_helper'
describe "CI YML Templates" do
- ABSTRACT_TEMPLATES = %w[Serverless]
+ ABSTRACT_TEMPLATES = %w[Serverless].freeze
def self.concrete_templates
Gitlab::Template::GitlabCiYmlTemplate.all.reject do |template|