spec/mongomodel/mongomodel_spec.rb in mongomodel-0.2.20 vs spec/mongomodel/mongomodel_spec.rb in mongomodel-0.3.0

- old
+ new

@@ -40,10 +40,10 @@ MongoModel.configuration.database.should == 'mydb' end end it "should have a logger accessor" do - logger = mock('logger') + logger = mock('logger').as_null_object MongoModel.logger = logger MongoModel.logger.should == logger end end