gitlab-org--gitlab-foss/spec/support/shared_contexts/json_response_shared_contex...

6 lines
121 B
Ruby

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