test/threading_test.rb in mongo-0.19.3 vs test/threading_test.rb in mongo-0.20

- old
+ new

@@ -2,10 +2,10 @@ class TestThreading < Test::Unit::TestCase include Mongo - @@db = Connection.new('localhost', 27017, :pool_size => 1, :timeout => 30).db('ruby-mongo-test') + @@db = Connection.new('localhost', 27017, :pool_size => 1, :timeout => 30).db(MONGO_TEST_DB) @@coll = @@db.collection('thread-test-collection') def set_up_safe_data @@db.drop_collection('duplicate') @@db.drop_collection('unique')