Sha256: c8be9363cc61a8417e8d09a55ec3ed09d42add7126d352c3ca01081a2bf55468
Contents?: true
Size: 380 Bytes
Versions: 4
Compression:
Stored size: 380 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Aggregate, '#hash' do subject { object.hash } let(:described_class) { Class.new(Aggregate) } let(:object) { described_class.new(attribute) } let(:attribute) { Attribute::Integer.new(:id) } it_should_behave_like 'a hash method' it { should == described_class.hash ^ attribute.hash } end
Version data entries
4 entries across 4 versions & 2 rubygems