mongodb/mongo-ruby-driver — pull request #280 by estolfo (2013-10-16 13:25:06+00:00)
Title: RUBY-690 Test that aggregate supports explain option

I've added two tests to the functional/collection_test.rb that checks explain:

The first one tests to make sure that explain is passed along as a command option for the aggregation.

The second one verifies that the raw result document will be returned when explain is specified.