debian-mirror-gitlab/spec/support/shared_contexts/json_response_shared_context.rb
2018-10-15 14:42:47 +05:30

4 lines
90 B
Ruby

shared_context 'JSON response' do
let(:json_response) { JSON.parse(response.body) }
end