mongoid configuration in minitest_helper.rb

   - require 'mongoid'
     Mongoid.load!(File.join(File.dirname(__FILE__) + '/../config' , 'mongoid.yml') , :test)

     lines added minitest_helper.rb