Sha256: 0fcce8b0f4bdd9cda4d88a33b893182914dd16ee210c85d4a8f3056783956574

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

require 'spec_helper'

describe 'Array Source' do
  it 'just works in a console' do
    expected = <<-TABLE
+---+---+---+
| a | b | c |
+---+---+---+
| d | e | f |
+---+---+---+
    TABLE
    [%w(a b c), %w(d e f)].to_batch.text_table.to_s.should == expected
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tablesmith-0.1.2 spec/array_batch_spec.rb