Commit d6cf45d0 authored by charlie ablett's avatar charlie ablett

Merge branch 'rspec-csv-response-helper' into 'master'

Add CSV response helper for controller specs

See merge request gitlab-org/gitlab!39164
parents 4301dcc3 bdd23cad
# frozen_string_literal: true
RSpec.configure do |config|
config.include_context 'CSV response', type: :controller
end
# frozen_string_literal: true
RSpec.shared_context 'CSV response' do
let(:csv_response) { CSV.parse(response.body) }
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment