minor: test fix
This commit is contained in:
parent
dfe40238c9
commit
43182b8aec
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user