Sha256: fbe39144fba10e441281fa5072ba85378f727ca16596dcd932984333223a50fc
Contents?: true
Size: 417 Bytes
Versions: 6
Compression:
Stored size: 417 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Rename::Aliases, '#hash' do subject { object.hash } let(:attribute) { Attribute::Integer.new(:id) } let(:aliases) { { attribute => attribute.rename(:other_id) } } let(:object) { described_class.new(aliases) } it_should_behave_like 'a hash method' it { should == described_class.hash ^ aliases.hash } end
Version data entries
6 entries across 6 versions & 2 rubygems