Sha256: 7898b290aa7f09a1028fae20a07e9e9de386977e7946f5a6dccef7b592b4455b
Contents?: true
Size: 574 Bytes
Versions: 11
Compression:
Stored size: 574 Bytes
Contents
require 'spec_helper' require 'dm-core/support/ordered_set' require 'unit/data_mapper/ordered_set/shared/each_spec' describe 'DataMapper::OrderedSet' do subject { DataMapper::OrderedSet.new } it_should_behave_like 'DataMapper::OrderedSet' end describe 'DataMapper::OrderedSet#each' do subject { set.each { |entry| yields << entry } } let(:set) { DataMapper::OrderedSet.new([ entry ]) } let(:entry) { 1 } let(:yields) { [] } it_should_behave_like 'DataMapper::OrderedSet#each' end
Version data entries
11 entries across 11 versions & 3 rubygems