Sha256: 22e5ad227dba729a69ca6e9af8999dadf3b69e2dcbaa729f0a8b8527eeb37ace

Contents?: true

Size: 346 Bytes

Versions: 11

Compression:

Stored size: 346 Bytes

Contents

require 'spec_helper'

shared_examples_for 'DataMapper::OrderedSet#index when the entry is not present' do
  it { should be(nil) }
end

shared_examples_for 'DataMapper::OrderedSet#index when 1 entry is present' do
  it { should == 0 }
end

shared_examples_for 'DataMapper::OrderedSet#index when 2 entries are present' do
  it { should == 1 }
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
ardm-core-1.3.0 spec/unit/data_mapper/ordered_set/shared/index_spec.rb
ardm-core-1.2.1 spec/unit/data_mapper/ordered_set/shared/index_spec.rb
dm-core-1.2.1 spec/unit/data_mapper/ordered_set/shared/index_spec.rb
ghost_dm-core-1.3.0.beta spec/unit/data_mapper/ordered_set/shared/index_spec.rb
dm-core-1.2.0 spec/unit/data_mapper/ordered_set/shared/index_spec.rb
dm-core-1.2.0.rc2 spec/unit/data_mapper/ordered_set/shared/index_spec.rb
dm-core-1.2.0.rc1 spec/unit/data_mapper/ordered_set/shared/index_spec.rb
dm-core-1.1.0 spec/unit/data_mapper/ordered_set/shared/index_spec.rb
dm-core-1.1.0.rc3 spec/unit/data_mapper/ordered_set/shared/index_spec.rb
dm-core-1.1.0.rc2 spec/unit/data_mapper/ordered_set/shared/index_spec.rb
dm-core-1.1.0.rc1 spec/unit/data_mapper/ordered_set/shared/index_spec.rb