Sha256: f5aa2f976e346c1ec605ea38dd6864b857c392b0bbaa104e8e1c53355f2568d5

Contents?: true

Size: 258 Bytes

Versions: 4

Compression:

Stored size: 258 Bytes

Contents

# -*- encoding: utf-8 -*-

require 'spec_helper'

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

  subject { object.to_ary }

  it { should be_instance_of(Array) }

  it { should == data }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tty-0.0.11 spec/tty/table/row/to_ary_spec.rb
tty-0.0.10 spec/tty/table/row/to_ary_spec.rb
tty-0.0.9 spec/tty/table/row/to_ary_spec.rb
tty-0.0.8 spec/tty/table/row/to_ary_spec.rb