Sha256: 2d192ffe7ced49cf5b805b49bcf2aaaa2f68e6e924b092d206e07fe4d35372e5
Contents?: true
Size: 560 Bytes
Versions: 2
Compression:
Stored size: 560 Bytes
Contents
require_relative '../../../spec_helper' require 'dm-core/support/ordered_set' require_relative 'shared/each_spec' describe 'DataMapper::OrderedSet' do subject { DataMapper::OrderedSet.new } it_behaves_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_behaves_like 'DataMapper::OrderedSet#each' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sbf-dm-core-1.3.0 | spec/unit/data_mapper/ordered_set/each_spec.rb |
sbf-dm-core-1.3.0.beta | spec/unit/data_mapper/ordered_set/each_spec.rb |