Fixed non-passing test

This commit is contained in:
Adrian Madrid 2008-12-06 13:27:38 -07:00
parent 4c7873f3db
commit 2f242227ae
1 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ class DBAPITest < Test::Unit::TestCase
assert_equal 3, @coll.count
docs = @coll.find().collect
assert_equal 3, docs.length
assert docs.include?('a' => 1)
assert docs.include?('a' => 2)
assert docs.include?('b' => 3)
assert docs.any?{|x| x['a'] == 1}
assert docs.any?{|x| x['a'] == 2}
assert docs.any?{|x| x['b'] == 3}
end
def test_close