Fix deprecation warning while running specs
Fix deprecation warning while running specs

- its is deprecated in rspec so while running specs on version 2.99 It
was giving deprecation warning. This commit fixes deprecation warning.

mongoid/mongoid_search,mauriciozaffari/mongoid_search