diff options
author | gfyoung <gfyoung17+gitlab@gmail.com> | 2019-04-15 10:17:05 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-04-15 10:17:05 +0000 |
commit | 93a44e135b0d09ed0fd31dce5d81841a96ef8d67 (patch) | |
tree | e939a8fb6a83fbe4edcc592cd5882cfb4037b081 /spec/config | |
parent | d5e3677e0c5f4565cf45c1da666a4fca45d930f5 (diff) | |
download | gitlab-ce-93a44e135b0d09ed0fd31dce5d81841a96ef8d67.tar.gz |
Add some frozen string to spec/**/*.rb
Adds frozen string to the following:
* spec/bin/**/*.rb
* spec/config/**/*.rb
* spec/controllers/**/*.rb
xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
Diffstat (limited to 'spec/config')
-rw-r--r-- | spec/config/mail_room_spec.rb | 2 | ||||
-rw-r--r-- | spec/config/object_store_settings_spec.rb | 2 | ||||
-rw-r--r-- | spec/config/settings_spec.rb | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/spec/config/mail_room_spec.rb b/spec/config/mail_room_spec.rb index 74634dac713..94b29b89f24 100644 --- a/spec/config/mail_room_spec.rb +++ b/spec/config/mail_room_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe 'mail_room.yml' do diff --git a/spec/config/object_store_settings_spec.rb b/spec/config/object_store_settings_spec.rb index efb620fe6dd..c38910cff0a 100644 --- a/spec/config/object_store_settings_spec.rb +++ b/spec/config/object_store_settings_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' require Rails.root.join('config', 'object_store_settings.rb') diff --git a/spec/config/settings_spec.rb b/spec/config/settings_spec.rb index c89b5f48dc0..26d92593a08 100644 --- a/spec/config/settings_spec.rb +++ b/spec/config/settings_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Settings do |