debian-mirror-gitlab/spec/support/json_response.rb
2019-10-12 21:52:04 +05:30

8 lines
227 B
Ruby

# frozen_string_literal: true
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