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

6 lines
121 B
Ruby

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