From 27d6106376b56c8e393a7df71b34b6c7ad4eef78 Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Mon, 2 Mar 2009 11:49:56 -0500 Subject: [PATCH] bad test in 1.9 --- Rakefile | 2 +- tests/test_bson.rb | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index 16101c6..f236966 100644 --- a/Rakefile +++ b/Rakefile @@ -23,7 +23,7 @@ task :publish => [:rdoc] do Rake::RubyForgePublisher.new(GEM, RUBYFORGE_USER).upload end -namespace :gem do +namespace :gem do desc "Install the gem locally" task :install do diff --git a/tests/test_bson.rb b/tests/test_bson.rb index 7598680..0e362bb 100644 --- a/tests/test_bson.rb +++ b/tests/test_bson.rb @@ -16,9 +16,6 @@ class BSONTest < Test::Unit::TestCase def test_string doc = {'doc' => 'hello, world'} @b.serialize(doc) - assert_equal @b.to_a, [0x1b, 0x00, 0x00, 0x00, 0x02, ?d, ?o, ?c, 0x00, 0x0D, - 0x00, 0x00, 0x00, ?h, ?e, ?l, ?l, ?o, ","[0], " "[0], - ?w, ?o, ?r, ?l, ?d, 0x00, 0x00] assert_equal doc, @b.deserialize end