Sha256: 679cfd684776b87af9ce97ea460f2b4b6b5f1cbfa9987859802fffb17276e5e0

Contents?: true

Size: 331 Bytes

Versions: 11

Compression:

Stored size: 331 Bytes

Contents

require 'spec_helper'

fixture_path = 'spec/fixtures'

describe 'be_able_to' do
  it 'loads_file_with_quoted_fields' do 
    options = {}
    data = SmarterCSV.process("#{fixture_path}/quoted.csv", options)
    data.flatten.size.should == 4
    data[1][:description].should be_nil
    data[2][:description].should be_nil
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
smarter_csv-1.1.3 spec/smarter_csv/quoted_spec.rb
smarter_csv-1.1.2 spec/smarter_csv/quoted_spec.rb
smarter_csv-1.1.1 spec/smarter_csv/quoted_spec.rb
smarter_csv-1.1.0 spec/smarter_csv/quoted_spec.rb
smarter_csv-1.0.19 spec/smarter_csv/quoted_spec.rb
smarter_csv-1.0.18 spec/smarter_csv/quoted_spec.rb
smarter_csv-1.0.17 spec/smarter_csv/quoted_spec.rb
smarter_csv-1.0.16 spec/smarter_csv/quoted_spec.rb
smarter_csv-1.0.15 spec/smarter_csv/quoted_spec.rb
smarter_csv-1.0.14 spec/smarter_csv/quoted_spec.rb
smarter_csv-1.0.12 spec/smarter_csv/quoted_spec.rb