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