summaryrefslogtreecommitdiff
path: root/spec/support/json_response.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/json_response.rb')
-rw-r--r--spec/support/json_response.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/support/json_response.rb b/spec/support/json_response.rb
index 210b0e6d867..55bdce0cfe9 100644
--- a/spec/support/json_response.rb
+++ b/spec/support/json_response.rb
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
RSpec.configure do |config|
- config.include_context 'JSON response'
+ config.include_context 'JSON response', type: :controller
config.include_context 'JSON response', type: :request
config.include_context 'JSON response', :api
end