Sha256: 8173f9bc09e70ac5910b7424163833e2c17bb1027c2d22f69cfc1dd8417c3024

Contents?: true

Size: 282 Bytes

Versions: 26

Compression:

Stored size: 282 Bytes

Contents

require 'spec_helper'

fixture_path = 'spec/fixtures'

describe 'be_able_to' do
  it 'loads_file_with_different_column_separator' do 
    options = {:col_sep => ';'}
    data = SmarterCSV.process("#{fixture_path}/separator.csv", options)
    data.flatten.size.should == 3
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
smarter_csv-1.3.0 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.2.8 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.2.7 spec/smarter_csv/column_separator_spec.rb
pokedex-terminal-0.2.8 vendor/bundle/ruby/2.7.0/gems/smarter_csv-1.2.6/spec/smarter_csv/column_separator_spec.rb
pokedex-terminal-0.2.7 vendor/bundle/ruby/2.7.0/gems/smarter_csv-1.2.6/spec/smarter_csv/column_separator_spec.rb
pokedex-terminal-0.2.6 vendor/bundle/ruby/2.7.0/gems/smarter_csv-1.2.6/spec/smarter_csv/column_separator_spec.rb
pokedex-terminal-0.2.5 vendor/bundle/ruby/2.7.0/gems/smarter_csv-1.2.6/spec/smarter_csv/column_separator_spec.rb
pokedex-terminal-0.2.4 vendor/bundle/ruby/2.7.0/gems/smarter_csv-1.2.6/spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.2.6 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.2.5 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.2.4 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.2.3 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.2.0 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.1.5 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.1.4 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.1.3 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.1.2 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.1.1 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.1.0 spec/smarter_csv/column_separator_spec.rb
smarter_csv-1.0.19 spec/smarter_csv/column_separator_spec.rb