Sha256: 97c607479bde8e2fc845ebe729060d94ab810d944f58b79ccd3032c87cfde14d
Contents?: true
Size: 479 Bytes
Versions: 20
Compression:
Stored size: 479 Bytes
Contents
module Mongo module CRUD class CRUDTestBase def resolve_target(client, operation) case operation.object when 'collection' client[@spec.collection_name].with(operation.collection_options) when 'database' client.database when 'client' client when 'gridfsbucket' client.database.fs else raise "Unknown target #{operation.object}" end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems