fix test configuration for mongoid, no more no method [] for nil
fix test configuration for mongoid, no more no method [] for nil

joshsoftware/code-curiosity,joshsoftware/code-curiosity,joshsoftware/code-curiosity