spec/mongomodel/mongomodel_spec.rb in mongomodel-0.2.15 vs spec/mongomodel/mongomodel_spec.rb in mongomodel-0.2.16

- old
+ new

@@ -21,11 +21,11 @@ it "should establish database connection to given database" do database = MongoModel.database connection = database.connection - connection.host.should == '127.0.0.1' - connection.port.should == 27017 + connection.primary_pool.host.should == '127.0.0.1' + connection.primary_pool.port.should == 27017 database.name.should == 'mydb' end end describe "setting a custom database configuration as a URI string" do