Fix failing test

This commit is contained in:
Wojciech Piekutowski 2011-02-20 17:20:23 +01:00
parent a17a0a68af
commit e5ef555f9f
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ class DBAPITest < Test::Unit::TestCase
names = @@db.collection_names names = @@db.collection_names
assert names.length >= 2 assert names.length >= 2
assert names.include?(@@coll.name) assert names.include?(@@coll.name)
assert names.include?('mongo-ruby-test.test2') assert names.include?('test2')
ensure ensure
@@db.drop_collection('test2') @@db.drop_collection('test2')
end end