gitlab-org--gitlab-foss/spec/support/json_response.rb
Peter Leitzen 7b87ed1499 Cleanup usages of JSON.parse in specs
Prefer `json_response` where applicable.
2019-07-16 08:03:49 +00:00

5 lines
196 B
Ruby

RSpec.configure do |config|
config.include_context 'JSON response', type: :controller
config.include_context 'JSON response', type: :request
config.include_context 'JSON response', :api
end