Sha256: dc37cff54d99cc70d09fbdbd50d885c96b9f420c400e9f93c0f0790405d233e7
Contents?: true
Size: 617 Bytes
Versions: 1
Compression:
Stored size: 617 Bytes
Contents
require 'spec_helper' describe Csvstack2 do include SpecHelper it "stacks 2 csv files" do out = run 'csvstack2', 'a_b.csv', 'a_b.csv' assert_csv(out, %{ a,b 1,2 1,2 }) File.unlink out end it "stacks 3 csv files" do out = run 'csvstack2', 'a_b.csv', 'a_b.csv', 'a_b.csv' assert_csv(out, %{ a,b 1,2 1,2 1,2 }) File.unlink out end it "stacks csv files with same headers in different order" do out = run 'csvstack2', 'a_b.csv', 'b_a.csv' assert_csv(out, %{ a,b 1,2 1,2 }) File.unlink out end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
csvstack2-0.0.1 | spec/csvstack2_spec.rb |