Fixed non-passing test
This commit is contained in:
parent
4c7873f3db
commit
2f242227ae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue