diff --git a/test/db_api_test.rb b/test/db_api_test.rb index a301653..01dc934 100644 --- a/test/db_api_test.rb +++ b/test/db_api_test.rb @@ -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