From 93a44e135b0d09ed0fd31dce5d81841a96ef8d67 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Mon, 15 Apr 2019 10:17:05 +0000 Subject: 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 --- spec/config/mail_room_spec.rb | 2 ++ spec/config/object_store_settings_spec.rb | 2 ++ spec/config/settings_spec.rb | 2 ++ 3 files changed, 6 insertions(+) (limited to 'spec/config') 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 -- cgit v1.2.1