Commit bdd23cad authored by drew cimino's avatar drew cimino

Add CSV response helper for controller specs

parent fc64052f
# 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