spec/csv2hash/structure_validator_spec.rb in csv2hash-0.4.0 vs spec/csv2hash/structure_validator_spec.rb in csv2hash-0.5.0
- old
+ new
@@ -10,10 +10,10 @@
definition.default!
end
end
subject do
- Csv2hash::Main.new(definition, data_source, ignore_blank_line=false)
+ Csv2hash::Main.new(definition, data_source, ignore_blank_line: false)
end
context 'the csv with errors' do
let(:options){ { structure_rules: { 'MaxColumns' => 2 } } }
before { subject.parse }