diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-02-28 14:26:56 +0100 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-03-04 21:09:39 +0800 |
commit | b491e3f91b4ec6a961c37222a43ce39c009ba3b0 (patch) | |
tree | 17adaba0aff0723c742275bb9d5799f79ff6bc84 /spec/lib/gitlab/ci/templates | |
parent | 714c77a6fa216f9a1aa20baa6e7ea4fe6712bb29 (diff) | |
download | gitlab-ce-b491e3f91b4ec6a961c37222a43ce39c009ba3b0.tar.gz |
Freeze abstract templates constant in specs
Diffstat (limited to 'spec/lib/gitlab/ci/templates')
-rw-r--r-- | spec/lib/gitlab/ci/templates/templates_spec.rb | 2 |
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| |