From 73a2fe52c3c2aac6d13a8d99fbea429253f202f9 Mon Sep 17 00:00:00 2001 From: Sean McGivern Date: Tue, 9 Apr 2019 16:48:31 +0100 Subject: [PATCH] Add frozen_string_literal to HipChat files --- config/initializers/hipchat_client_patch.rb | 1 + spec/features/projects/services/user_activates_hipchat_spec.rb | 2 ++ spec/models/project_services/hipchat_service_spec.rb | 2 ++ 3 files changed, 5 insertions(+) diff --git a/config/initializers/hipchat_client_patch.rb b/config/initializers/hipchat_client_patch.rb index aec265312bb..1879ecb15fb 100644 --- a/config/initializers/hipchat_client_patch.rb +++ b/config/initializers/hipchat_client_patch.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # This monkey patches the HTTParty used in https://github.com/hipchat/hipchat-rb. module HipChat class Client diff --git a/spec/features/projects/services/user_activates_hipchat_spec.rb b/spec/features/projects/services/user_activates_hipchat_spec.rb index 2f5313c91f9..d6b69a5bd68 100644 --- a/spec/features/projects/services/user_activates_hipchat_spec.rb +++ b/spec/features/projects/services/user_activates_hipchat_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe 'User activates HipChat' do diff --git a/spec/models/project_services/hipchat_service_spec.rb b/spec/models/project_services/hipchat_service_spec.rb index b0fd2ceead0..b9c6213ed06 100644 --- a/spec/models/project_services/hipchat_service_spec.rb +++ b/spec/models/project_services/hipchat_service_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe HipchatService do -- GitLab