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