spec/csv2hash_spec.rb in csv2hash-0.5.0 vs spec/csv2hash_spec.rb in csv2hash-0.6.0

- old
+ new

@@ -1,3 +1,17 @@ require 'spec_helper' -describe Csv2hash \ No newline at end of file +describe Csv2hash do + let(:definition) { double('definition', type: nil) } + let(:data_source) { nil } + + subject do + Csv2hash::Main.new(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