debian-mirror-gitlab/spec/support/shared_contexts/json_response_shared_context.rb

4 lines
90 B
Ruby
Raw Normal View History

2018-10-15 14:42:47 +05:30
shared_context 'JSON response' do
let(:json_response) { JSON.parse(response.body) }
end