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: 6a0734decd5d08ffb016fb6668518798dc2d3f4d (plain)
1
2
3
4
5
# frozen_string_literal: true

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