minor: test fix

This commit is contained in:
Kyle Banker 2010-11-12 17:59:38 -05:00
parent dfe40238c9
commit 43182b8aec

View File

@ -364,7 +364,7 @@ class DBAPITest < Test::Unit::TestCase
end end
def test_array def test_array
@@coll << {'b' => [1, 2, 3]} @@coll.insert({'b' => [1, 2, 3]})
rows = @@coll.find({}, {:fields => ['b']}).to_a rows = @@coll.find({}, {:fields => ['b']}).to_a
if @@version < "1.1.3" if @@version < "1.1.3"
assert_equal 1, rows.length assert_equal 1, rows.length