From 43182b8aec836c5df2bc5b4b370b76bfe89cec95 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Fri, 12 Nov 2010 17:59:38 -0500 Subject: [PATCH] minor: test fix --- test/db_api_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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