Sha256: ca50106e8709868b4a910c6357a9938c971c18bd878b683a48bac5a269205847

Contents?: true

Size: 453 Bytes

Versions: 13

Compression:

Stored size: 453 Bytes

Contents

require 'spec_helper'

module Csv2hash
  describe Main do
    let(:config_file) { 'config/rules.yml' }
    let(:loader)      { YamlLoader.new(config_file).tap &:load! }
    let(:data_source) { 'config/example.csv' }

    subject do
      Main.new(loader.definition, data_source, ignore_blank_line: false)
    end

    context '...' do
      specify do
        expect(subject.options.fetch(:ignore_blank_line)).to eql(false)
      end
    end

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
csv2hash-0.7.7 spec/csv2hash_spec.rb
csv2hash-0.7.6 spec/csv2hash_spec.rb
csv2hash-0.7.5 spec/csv2hash_spec.rb
csv2hash-0.7.3 spec/csv2hash_spec.rb
csv2hash-0.7.2 spec/csv2hash_spec.rb
csv2hash-0.7.1 spec/csv2hash_spec.rb
csv2hash-0.7.0 spec/csv2hash_spec.rb
csv2hash-0.6.8 spec/csv2hash_spec.rb
csv2hash-0.6.7 spec/csv2hash_spec.rb
csv2hash-0.6.6 spec/csv2hash_spec.rb
csv2hash-0.6.5 spec/csv2hash_spec.rb
csv2hash-0.6.4 spec/csv2hash_spec.rb
csv2hash-0.6.3 spec/csv2hash_spec.rb