Sha256: c683521649bb66ef39e296d52eee5a567e0847c1dde7093670f22415180459b3
Contents?: true
Size: 369 Bytes
Versions: 9
Compression:
Stored size: 369 Bytes
Contents
require 'spec_helper' require 'dm-core/support/ordered_set' describe 'DataMapper::OrderedSet#hash' do subject { ordered_set.hash } let(:entry) { 1 } let(:ordered_set) { DataMapper::OrderedSet.new([ entry ]) } it { should be_kind_of(Integer) } it { should == ordered_set.class.hash ^ ordered_set.entries.hash } end
Version data entries
9 entries across 9 versions & 3 rubygems