Sha256: 4f2f7b90f23d702ed0efed76c7b4b47f992c1dbd248ec9390a04f5bed5b01326
Contents?: true
Size: 307 Bytes
Versions: 10
Compression:
Stored size: 307 Bytes
Contents
# encoding: utf-8 require 'spec_helper' RSpec.describe TTY::Table::Header, '#to_ary' do let(:object) { described_class.new(attributes) } let(:attributes) { [:id, :name, :age] } subject { object.to_ary } it { is_expected.to be_instance_of(Array) } it { is_expected.to eq(attributes) } end
Version data entries
10 entries across 10 versions & 1 rubygems