spec/mongoid/ids/options_spec.rb in mongoid-ids-0.1.1 vs spec/mongoid/ids/options_spec.rb in mongoid-ids-0.1.7
- old
+ new
@@ -48,20 +48,9 @@
it 'should create a pattern' do
expect(Mongoid::Ids::Options.new.pattern).to eq('%s4')
end
- describe 'override_to_param' do
- it 'should be an option' do
- expect(Mongoid::Ids::Options.new(override_to_param: false)
- .override_to_param?).to eq false
- end
-
- it 'should default to true' do
- expect(Mongoid::Ids::Options.new.override_to_param?).to eq true
- end
- end
-
describe 'skip_finder' do
it 'should be an option' do
expect(Mongoid::Ids::Options.new(skip_finders: true)
.skip_finders?).to eq true
end