summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-04-09 16:48:31 +0100
committerSean McGivern <sean@gitlab.com>2019-04-10 12:58:18 +0100
commite00c7016b10892d847335d6a3944f34b717861d9 (patch)
tree1c68e12a16c202c60d3df57a2a240ce5cc5960b8
parent69544c1ebe48f4a73fae3530bfab73378efad7a2 (diff)
downloadgitlab-ce-e00c7016b10892d847335d6a3944f34b717861d9.tar.gz
Add frozen_string_literal to HipChat filesrestore-hipchat
-rw-r--r--config/initializers/hipchat_client_patch.rb1
-rw-r--r--spec/features/projects/services/user_activates_hipchat_spec.rb2
-rw-r--r--spec/models/project_services/hipchat_service_spec.rb2
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 23b65400ce6..fd9e33c1781 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