Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-08-03 08:17:22 +0300
committerShinya Maeda <shinya@gitlab.com>2018-08-03 08:17:22 +0300
commit1f53cf7cf0cb53b5d69ab141fa9020356e62027e (patch)
treefac87bd3fcf2900116bbc2777eb6f347f50922f6 /spec/controllers
parentd867081df185b873667d9eec1184ac92efc8973e (diff)
parent5f664759b57ef1c0fcfb7e95dfbff6c080a7a72f (diff)
Merge branch 'master-ce' into artifact-format-v2-with-parser
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/admin/services_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/admin/services_controller_spec.rb b/spec/controllers/admin/services_controller_spec.rb
index 701211c2586..4439ea4a533 100644
--- a/spec/controllers/admin/services_controller_spec.rb
+++ b/spec/controllers/admin/services_controller_spec.rb
@@ -13,7 +13,7 @@ describe Admin::ServicesController do
Service.available_services_names.each do |service_name|
context "#{service_name}" do
let!(:service) do
- service_template = service_name.concat("_service").camelize.constantize
+ service_template = "#{service_name}_service".camelize.constantize
service_template.where(template: true).first_or_create
end