test/functional/cursor_message_test.rb in mongo-1.9.2 vs test/functional/cursor_message_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
#
@@ -18,17 +18,17 @@
class CursorMessageTest < Test::Unit::TestCase
include Mongo
@@connection = standard_connection
- @@db = @@connection.db(MONGO_TEST_DB)
+ @@db = @@connection.db(TEST_DB)
@@coll = @@db.collection('test')
@@version = @@connection.server_version
def setup
@@coll.remove
@@coll.insert('a' => 1) # collection not created until it's used
- @@coll_full_name = "#{MONGO_TEST_DB}.test"
+ @@coll_full_name = "#{TEST_DB}.test"
end
def test_valid_batch_sizes
assert_raise ArgumentError do
@@coll.find({}, :batch_size => 1, :limit => 5)