diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-08-03 08:17:22 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-08-03 08:17:22 +0300 |
commit | 1f53cf7cf0cb53b5d69ab141fa9020356e62027e (patch) | |
tree | fac87bd3fcf2900116bbc2777eb6f347f50922f6 /spec/controllers | |
parent | d867081df185b873667d9eec1184ac92efc8973e (diff) | |
parent | 5f664759b57ef1c0fcfb7e95dfbff6c080a7a72f (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.rb | 2 |
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 |