Commit b491e3f9 authored by Grzegorz Bizon's avatar Grzegorz Bizon Committed by Lin Jen-Shin

Freeze abstract templates constant in specs

parent 714c77a6
......@@ -3,7 +3,7 @@
require 'spec_helper'
describe "CI YML Templates" do
ABSTRACT_TEMPLATES = %w[Serverless].freeze
def self.concrete_templates
Gitlab::Template::GitlabCiYmlTemplate.all.reject do |template|
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment