Sha256: fb4c3c07ed7d9007d435a5ce94594df50d811bce9cb20254fac100b4194f5c4c

Contents?: true

Size: 296 Bytes

Versions: 9

Compression:

Stored size: 296 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 { should be_instance_of(Array) }

  it { should == argument }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tty-0.0.11 spec/tty/table/operation/alignment_set/to_ary_spec.rb
tty-0.0.10 spec/tty/table/operation/alignment_set/to_ary_spec.rb
tty-0.0.9 spec/tty/table/operation/alignment_set/to_ary_spec.rb
tty-0.0.8 spec/tty/table/operation/alignment_set/to_ary_spec.rb
tty-0.0.7 spec/tty/table/operation/alignment_set/to_ary_spec.rb
tty-0.0.6 spec/tty/table/operation/alignment_set/to_ary_spec.rb
tty-0.0.5 spec/tty/table/operation/alignment_set/to_ary_spec.rb
tty-0.0.4 spec/tty/table/operation/alignment_set/to_ary_spec.rb
tty-0.0.3 spec/tty/table/operation/alignment_set/to_ary_spec.rb