Sha256: 0bd49695662b85597f02e117029216754a361482d43eb1483407719ab31f02de
Contents?: true
Size: 601 Bytes
Versions: 2
Compression:
Stored size: 601 Bytes
Contents
require_relative '../../../spec_helper' require 'dm-core/support/ordered_set' require_relative 'shared/entries_spec' describe 'DataMapper::OrderedSet#entries' do subject { ordered_set.entries } let(:ordered_set) { set } context 'with no entries' do let(:set) { DataMapper::OrderedSet.new } it_behaves_like 'DataMapper::OrderedSet#entries with no entries' end context 'with entries' do let(:set) { DataMapper::OrderedSet.new([ entry ]) } let(:entry) { 1 } it_behaves_like 'DataMapper::OrderedSet#entries with entries' end 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/entries_spec.rb |
sbf-dm-core-1.3.0.beta | spec/unit/data_mapper/ordered_set/entries_spec.rb |