summaryrefslogtreecommitdiff
path: root/spec/support/json_response.rb
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-07-25 17:27:42 +1200
committerThong Kuah <tkuah@gitlab.com>2019-07-25 17:33:34 +1200
commitf0391c2517879bbb73702ccafd5e02bf25b40eec (patch)
tree11aad2263464c3ba2536e7667046dbd789b5fb3b /spec/support/json_response.rb
parent7fa0c7662b88efa72d29087a273f0b6c1e484b3e (diff)
downloadgitlab-ce-f0391c2517879bbb73702ccafd5e02bf25b40eec.tar.gz
Add frozen_string_literal to spec/support
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
Diffstat (limited to 'spec/support/json_response.rb')
-rw-r--r--spec/support/json_response.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/json_response.rb b/spec/support/json_response.rb
index 43d8ab73dde..55bdce0cfe9 100644
--- a/spec/support/json_response.rb
+++ b/spec/support/json_response.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
RSpec.configure do |config|
config.include_context 'JSON response', type: :controller
config.include_context 'JSON response', type: :request