Sha256: acb275310c7363107332a95d9de98822b70ec4b99d244cced0fc318cc9380152

Contents?: true

Size: 307 Bytes

Versions: 3

Compression:

Stored size: 307 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe TTY::Table::Operation::AlignmentSet, '#to_ary' do
  let(:argument) { [:center, :left] }
  let(:object)   { described_class.new argument }

  subject { object.to_ary }

  it { is_expected.to be_instance_of(Array) }

  it { is_expected.to eq(argument) }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tty-0.1.2 spec/tty/table/operation/alignment_set/to_ary_spec.rb
tty-0.1.1 spec/tty/table/operation/alignment_set/to_ary_spec.rb
tty-0.1.0 spec/tty/table/operation/alignment_set/to_ary_spec.rb