Sha256: afeb6e7809c179c53c23102c19aa909f6c66b8b626bdd1d5ec409ed733dd6324

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

require 'spec_helper'

describe 'Veritas::Relation::Header#hash' do
  subject { header.hash }

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

  it { should be_kind_of(Integer) }

  it { should == header.to_ary.hash }

  it_should_behave_like 'an idempotent method'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.1 spec/unit/veritas/relation/header/hash_spec.rb