Sha256: c387420a8deb6728ff5fcd8a1991826893e9a07166c52c0aed752081d68b258a

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Tuple, '#to_ary' do
  subject { object.to_ary }

  let(:header) { Relation::Header.new([ [ :id, Integer ] ]) }
  let(:object) { described_class.new(header, [ 1 ])         }

  it { should be_kind_of(Array) }

  it { should be_frozen }

  it { should == [ 1 ] }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.4 spec/unit/veritas/tuple/to_ary_spec.rb