spec/runners/command_monitoring.rb
# Run the test against the provided collection.
#
# @example Run the test.
#   test.run(collection)
#
# @param [ Mongo::Collection ] collection The collection.
#
# @since 2.1.0
Run the test against the provided collection.
Run the test against the provided collection .
def run(collection, subscriber)
        collection.insert_many(@data)
        subscriber.clear_events!
        @operation.execute(collection)
      end
def run ( collection , subscriber ) collection . insert_many ( @data ) subscriber . clear_events! @operation . execute ( collection ) end
Run the test against the provided collection.
Run the test against the provided collection .
collection
subscriber
collection The collection.
collection The collection .
example
Run the test. test.run(collection)
Run the test . test . run ( collection )
since
None