Sha256: c1df24c682e3bf302ccd617d38b0ce1d10fe23a8a9e1fd64154e1cbd4e623bfc
Contents?: true
Size: 254 Bytes
Versions: 3
Compression:
Stored size: 254 Bytes
Contents
require "spec_helper" require "tabler" describe Tabler do describe ".generate" do it 'returns a CSV string' do Tabler.generate([{ :col1 => "val 1", :col2 => "val 2" }], :col_sep => ";").should == "col1;col2\nval 1;val 2\n" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tabler-0.0.3 | spec/tabler_spec.rb |
tabler-0.0.2 | spec/tabler_spec.rb |
tabler-0.0.1 | spec/tabler_spec.rb |