Sha256: 90c3ce21b42de1b2ec421aed8477e244660e4a275ca54ccf89f2937c1d4de585

Contents?: true

Size: 271 Bytes

Versions: 10

Compression:

Stored size: 271 Bytes

Contents

# coding: utf-8

require 'spec_helper'

RSpec.describe TTY::Table::Row, '#to_ary' do
  let(:object) { described_class.new data }
  let(:data) { ['a', 'b'] }

  subject { object.to_ary }

  it { is_expected.to be_instance_of(Array) }

  it { is_expected.to eq(data) }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tty-table-0.10.0 spec/unit/row/to_ary_spec.rb
tty-table-0.9.0 spec/unit/row/to_ary_spec.rb
tty-table-0.8.0 spec/unit/row/to_ary_spec.rb
tty-table-0.7.0 spec/unit/row/to_ary_spec.rb
tty-table-0.6.0 spec/unit/row/to_ary_spec.rb
tty-table-0.5.0 spec/unit/row/to_ary_spec.rb
tty-table-0.4.0 spec/unit/row/to_ary_spec.rb
tty-table-0.3.0 spec/unit/row/to_ary_spec.rb
tty-table-0.2.0 spec/unit/row/to_ary_spec.rb
tty-table-0.1.0 spec/unit/row/to_ary_spec.rb