Commit 7953e9df authored by Jose Vargas's avatar Jose Vargas

Address missing template changes

Also address shared examples naming
parent 7c128db3
...@@ -8,7 +8,7 @@ module EE ...@@ -8,7 +8,7 @@ module EE
dockerfiles: ::Gitlab::Template::CustomDockerfileTemplate, dockerfiles: ::Gitlab::Template::CustomDockerfileTemplate,
gitignores: ::Gitlab::Template::CustomGitignoreTemplate, gitignores: ::Gitlab::Template::CustomGitignoreTemplate,
gitlab_ci_ymls: ::Gitlab::Template::CustomGitlabCiYmlTemplate, gitlab_ci_ymls: ::Gitlab::Template::CustomGitlabCiYmlTemplate,
metrics_dashboard_ymls: ::Gitlab::Template::MetricsDashboardTemplate metrics_dashboard_ymls: ::Gitlab::Template::CustomMetricsDashboardYmlTemplate
).freeze ).freeze
attr_reader :custom_templates attr_reader :custom_templates
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
RSpec.shared_examples 'template shared examples' do |filename, file_extension| RSpec.shared_examples 'file template shared examples' do |filename, file_extension|
describe '.all' do describe '.all' do
it "strips the #{file_extension} suffix" do it "strips the #{file_extension} suffix" do
expect(subject.all.first.name).not_to end_with(file_extension) expect(subject.all.first.name).not_to end_with(file_extension)
......
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