Sha256: 90f64b4943b08d86f8a651a460fc2bf5e528bcce890646e27f9386b062e06dbb
Contents?: true
Size: 434 Bytes
Versions: 1
Compression:
Stored size: 434 Bytes
Contents
require 'spec_helper' describe 'Veritas::Tuple#hash' do subject { object.hash } let(:klass) { Tuple } let(:header) { Relation::Header.new([ [ :id, Integer ] ]) } let(:data) { [ 1 ] } let(:object) { klass.new(header, data) } it_should_behave_like 'a hash method' it { should == klass.hash ^ header.hash ^ data.hash } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/tuple/hash_spec.rb |