Sha256: e20ac283f341b98bc95ee83388c6d5567e716a84ec8e4571bc85b466c62fbe11

Contents?: true

Size: 350 Bytes

Versions: 28

Compression:

Stored size: 350 Bytes

Contents

require 'spec_helper'

fixture_path = 'spec/fixtures'

describe 'be_able_to' do
  it 'remove_empty_values' do 
    options = {:row_sep => :auto, :remove_empty_values => true}
    data = SmarterCSV.process("#{fixture_path}/empty.csv", options)
    data.size.should == 1
    data[0].keys.should == [:not_empty_1, :not_empty_2, :not_empty_3]
  end

end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
smarter_csv-1.6.1 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.6.0 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.5.2 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.5.1 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.5.0 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.4.2 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.4.0 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.3.0 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.2.8 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.2.7 spec/smarter_csv/remove_empty_values_spec.rb
pokedex-terminal-0.2.8 vendor/bundle/ruby/2.7.0/gems/smarter_csv-1.2.6/spec/smarter_csv/remove_empty_values_spec.rb
pokedex-terminal-0.2.7 vendor/bundle/ruby/2.7.0/gems/smarter_csv-1.2.6/spec/smarter_csv/remove_empty_values_spec.rb
pokedex-terminal-0.2.6 vendor/bundle/ruby/2.7.0/gems/smarter_csv-1.2.6/spec/smarter_csv/remove_empty_values_spec.rb
pokedex-terminal-0.2.5 vendor/bundle/ruby/2.7.0/gems/smarter_csv-1.2.6/spec/smarter_csv/remove_empty_values_spec.rb
pokedex-terminal-0.2.4 vendor/bundle/ruby/2.7.0/gems/smarter_csv-1.2.6/spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.2.6 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.2.5 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.2.4 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.2.3 spec/smarter_csv/remove_empty_values_spec.rb
smarter_csv-1.2.0 spec/smarter_csv/remove_empty_values_spec.rb