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
|
||||
|
||||
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 = ''
|
||||
|
||||
|
|
Loading…
Reference in New Issue