Sha256: c957b93715a76f5341bc523fb31a2ee02047bf5dde4f39028cb95645aa8553f5
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Extension, '#hash' do subject { object.hash } let(:operand) { Relation.new([[:id, Integer]], [[1], [2]]) } let(:extensions) { { Attribute::Integer.new(:test) => 1 } } let(:object) { described_class.new(operand, extensions) } it_should_behave_like 'a hash method' it { should == described_class.hash ^ operand.hash ^ extensions.hash } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.1 | spec/unit/axiom/algebra/extension/hash_spec.rb |