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 private
begin # We need to define this method only if CBson isn't loaded.
require 'mongo_ext/cbson' unless defined? CBson
rescue LoadError
def generate def generate
oid = '' oid = ''