spec/models/model_spec.rb in pupa-0.0.13 vs spec/models/model_spec.rb in pupa-0.1.0

- old
+ new

@@ -144,10 +144,10 @@ object._id = '1' object._id.should == '1' end it 'should coerce the _id to a string' do - object._id = Moped::BSON::ObjectId.new + object._id = BSON::ObjectId.new object._id.should be_a(String) end end describe '#links' do