7b87ed1499
Prefer `json_response` where applicable.
5 lines
196 B
Ruby
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
|