Sha256: 490f70c5194801204446c6745fcf01dcc80c6715edfd0fc233236792a46a7b83
Contents?: true
Size: 294 Bytes
Versions: 9
Compression:
Stored size: 294 Bytes
Contents
# coding: utf-8 require 'spec_helper' RSpec.describe TTY::Table, '.data' do it 'gets all table data' do header = ['h1', 'h2', 'h3'] rows = [['a1', 'a2', 'a3'], ['b1', 'b2', 'b3']] table = described_class.new header, rows expect(table.data).to eql([header] + rows) end end
Version data entries
9 entries across 9 versions & 1 rubygems