diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-07-25 12:30:33 +0300 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-07-27 02:55:41 +0300 |
commit | 50abbd3e53d4f5e3e67543650a13aca9a54b37c2 (patch) | |
tree | 4b36ec83d974102ab38738b05678e3f0f738a6f3 /spec/controllers/admin | |
parent | caeb4597a5b24e0eaa96b24901ce9208c2eef4bf (diff) |
Enable frozen string in app/models/*.rb
Partially addresses #47424.
Diffstat (limited to 'spec/controllers/admin')
-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 |