Freeze abstract templates constant in specs

This commit is contained in:
Grzegorz Bizon 2019-02-28 14:26:56 +01:00 committed by Lin Jen-Shin
parent 714c77a6fa
commit b491e3f91b
1 changed files with 1 additions and 1 deletions

View File

@ -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|