diff options
author | Rémy Coutable <remy@rymai.me> | 2018-08-02 12:11:52 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-08-02 12:11:52 +0300 |
commit | f20a40f4a1eed15e6e3f64e85b3e8b46e32f7553 (patch) | |
tree | e1a405e1cb249efa273009828555ed61b170ec88 /spec | |
parent | 2deb97adff1414d469e31ffad8582ab3c65bb80f (diff) | |
parent | 50abbd3e53d4f5e3e67543650a13aca9a54b37c2 (diff) |
Merge branch 'frozen-string-enable-app-models' into 'master'
Enable frozen string in app/models/*.rb
See merge request gitlab-org/gitlab-ce!20851
Diffstat (limited to 'spec')
-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 |