Sha256: e363cae8d56643877d2a6eccf30d2f080a80dfc560167a74bde5da18e0a31421
Contents?: true
Size: 353 Bytes
Versions: 25
Compression:
Stored size: 353 Bytes
Contents
require 'spec_helper' fixture_path = 'spec/fixtures' describe 'be_able_to' do it 'close file after using it' do options = {:col_sep => "\cA", :row_sep => "\cB", :comment_regexp => /^#/, :strings_as_keys => true} file = File.new("#{fixture_path}/binary.csv") SmarterCSV.process(file, options) file.closed?.should == true end end
Version data entries
25 entries across 25 versions & 2 rubygems