Sha256: 0be21a6c0d7b7096c6c697fce3dd6991e6657a27dabfd37682d6a648001f20a4
Contents?: true
Size: 445 Bytes
Versions: 6
Compression:
Stored size: 445 Bytes
Contents
require 'spec_helper' fixture_path = 'spec/fixtures' describe 'malformed_csv' do subject { lambda { SmarterCSV.process(csv_path) } } context "malformed header" do let(:csv_path) { "#{fixture_path}/malformed_header.csv" } it { should raise_error(CSV::MalformedCSVError) } end context "malformed content" do let(:csv_path) { "#{fixture_path}/malformed.csv" } it { should raise_error(CSV::MalformedCSVError) } end end
Version data entries
6 entries across 6 versions & 1 rubygems