debian-mirror-gitlab/spec/support/shared_contexts/json_response_shared_context.rb
2020-03-13 15:44:24 +05:30

6 lines
127 B
Ruby

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