blob: aa235529c56cedce9745e824563a71522c706a16 (
plain)
1
2
3
4
5
6
7
8
9
|
shared_context 'JSON response' do
let(:json_response) { JSON.parse(response.body) }
end
RSpec.configure do |config|
config.include_context 'JSON response'
config.include_context 'JSON response', type: :request
config.include_context 'JSON response', :api
end
|