diff options
author | Sean McGivern <sean@gitlab.com> | 2019-04-09 16:48:31 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-04-11 11:37:33 +0100 |
commit | 73a2fe52c3c2aac6d13a8d99fbea429253f202f9 (patch) | |
tree | 1ccfdb50527efa3db960e51b9b17bbc4e1ad2344 | |
parent | 967edc1e80261a872fc0614d767df46bc7d39615 (diff) | |
download | gitlab-ce-73a2fe52c3c2aac6d13a8d99fbea429253f202f9.tar.gz |
Add frozen_string_literal to HipChat files
-rw-r--r-- | config/initializers/hipchat_client_patch.rb | 1 | ||||
-rw-r--r-- | spec/features/projects/services/user_activates_hipchat_spec.rb | 2 | ||||
-rw-r--r-- | spec/models/project_services/hipchat_service_spec.rb | 2 |
3 files changed, 5 insertions, 0 deletions
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 |