spec/concerns/import_leads_spec.rb in mrkt-0.9.0 vs spec/concerns/import_leads_spec.rb in mrkt-0.10.0
- old
+ new
@@ -20,11 +20,11 @@
end
subject { client.import_lead(tempfile) }
before do
CSV.open(tempfile, 'wb') do |csv|
- csv << %w(email firstName lastName)
- csv << %w(sample@example.com John Snow)
+ csv << %w[email firstName lastName]
+ csv << %w[sample@example.com John Snow]
end
stub_request(:post, "https://#{host}/bulk/v1/leads.json")
.with(headers: { content_type: %r{multipart/form-data; boundary=\S+} })
.to_return(json_stub(response_stub))