Sha256: 71b7c39c0e9ec9b91fb397a692c4d2be6ae22a8389da52a3bfb1cc0ae73bd5da

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

require_relative '../../../../spec_helper'

shared_examples 'DataMapper::OrderedSet#to_ary when no entries are present' do
  it { is_expected.to be_empty   }
  it { is_expected.to eq entries }
end

shared_examples 'DataMapper::OrderedSet#to_ary when entries are present' do
  it { is_expected.not_to be_empty }
  it { is_expected.to eq entries   }
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/shared/to_ary_spec.rb
sbf-dm-core-1.3.0.beta spec/unit/data_mapper/ordered_set/shared/to_ary_spec.rb