spec/mongomodel/mongomodel_spec.rb in mongomodel-0.4.9 vs spec/mongomodel/mongomodel_spec.rb in mongomodel-0.5.0
- old
+ new
@@ -40,10 +40,10 @@
MongoModel.configuration.database.should == 'mydb'
end
end
it "has a logger accessor" do
- logger = mock('logger').as_null_object
+ logger = double('logger').as_null_object
MongoModel.logger = logger
MongoModel.logger.should == logger
end
end