Sha256: 44a40a551ad0e16205f1c4fb0a4ab4d2e87e234b114ea81db65cb8845c63274f
Contents?: true
Size: 323 Bytes
Versions: 10
Compression:
Stored size: 323 Bytes
Contents
# coding: utf-8 require 'spec_helper' RSpec.describe TTY::Table, '#header' do let(:header) { [:header1, :header2] } let(:rows) { [['a1', 'a2'], ['b1', 'b2']] } let(:object) { described_class } subject(:table) { object.new header, rows } it { expect(table.header).to be_instance_of(TTY::Table::Header) } end
Version data entries
10 entries across 10 versions & 1 rubygems