Sha256: a872eb967463ed4d0c1778695d8cc5893e308c6e86f4c504a2f42c1c23a9c920

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

require 'spec_helper'

describe 'Veritas::Relation::Header#to_ary' do
  subject { object.to_ary }

  let(:klass)     { Relation::Header         }
  let(:attribute) { [ :id, Integer ]         }
  let(:object)    { klass.new([ attribute ]) }

  it { should be_kind_of(Array) }

  it { should == [ attribute ] }

  it { should be_frozen }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.2 spec/unit/veritas/relation/header/to_ary_spec.rb