spec/qualtrics/response_spec.rb in qualtrics-0.5.9 vs spec/qualtrics/response_spec.rb in qualtrics-0.6.0

- old
+ new

@@ -59,13 +59,13 @@ m.get('/random_content') { |env| [ 200, {'Content-Type'=>'random stuff'}, 'not a real body' ]} end end end - it 'can parse csv' do + it 'can return RAW csv file' do raw_response = content_endpoints.get('/csv_response') response = Qualtrics::Response.new(raw_response) - expect(response.result).to eql ([%w(csv stuff)]) + expect(response.result).to eql ('csv,stuff') end it 'can parse json' do raw_response = content_endpoints.get('/json_response') response = Qualtrics::Response.new(raw_response)