minor: test fix

This commit is contained in:
Kyle Banker 2010-11-12 17:59:38 -05:00
parent dfe40238c9
commit 43182b8aec
1 changed files with 1 additions and 1 deletions

View File

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