From 002b036c3963b771359c4213b2e70bbda56d40c9 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Thu, 21 Jan 2010 15:02:03 -0500 Subject: [PATCH] minor: test fix for Complex class --- test/test_bson.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_bson.rb b/test/test_bson.rb index a876788..d26b408 100644 --- a/test/test_bson.rb +++ b/test/test_bson.rb @@ -318,7 +318,7 @@ class BSONTest < Test::Unit::TestCase end def test_invalid_numeric_types - [BigDecimal.new("1.0"), Complex.new(0, 1), Rational.new!(2, 3)].each do |type| + [BigDecimal.new("1.0"), Complex(0, 1), Rational.new!(2, 3)].each do |type| print type.class doc = {"x" => type} begin