minor: use ruby object_id generate on test:ruby

This commit is contained in:
Kyle Banker 2009-12-18 12:12:19 -05:00
parent f8d45c405e
commit eaa12e2461

View File

@ -132,9 +132,8 @@ module Mongo
private
begin
require 'mongo_ext/cbson'
rescue LoadError
# We need to define this method only if CBson isn't loaded.
unless defined? CBson
def generate
oid = ''