Sha256: 5a922daf74f43cd28cdd48a94e29476af7fd04564d5ad5b252222ff39737550d
Contents?: true
Size: 335 Bytes
Versions: 2
Compression:
Stored size: 335 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Header, '#hash' do subject { object.hash } let(:attribute) { Attribute::Integer.new(:id) } let(:object) { described_class.new([ attribute ]) } it_should_behave_like 'a hash method' it { should == described_class.hash ^ { :id => attribute }.hash } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.5 | spec/unit/veritas/relation/header/hash_spec.rb |
veritas-0.0.4 | spec/unit/veritas/relation/header/hash_spec.rb |