Welcome to mirror list, hosted at ThFree Co, Russian Federation.

json_response_shared_context.rb « shared_contexts « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2f0a564d2bc60e7ddb96c35cb1e5e4757a933f31 (plain)
1
2
3
4
5
# frozen_string_literal: true

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