minor: use ruby object_id generate on test:ruby
This commit is contained in:
parent
f8d45c405e
commit
eaa12e2461
@ -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 = ''
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user