test/replica_set/count_test.rb in mongo-1.9.2 vs test/replica_set/count_test.rb in mongo-1.10.0.rc0
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (C) 2013 10gen Inc.
+# Copyright (C) 2009-2013 MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@@ -19,10 +19,10 @@
def setup
ensure_cluster(:rs)
@client = MongoReplicaSetClient.new(@rs.repl_set_seeds, :read => :primary_preferred)
assert @client.primary_pool
@primary = MongoClient.new(@client.primary_pool.host, @client.primary_pool.port)
- @db = @client.db(MONGO_TEST_DB)
+ @db = @client.db(TEST_DB)
@db.drop_collection("test-sets")
@coll = @db.collection("test-sets")
end
def teardown