Adding treatment for rails 4 when using mongoid and mongoid-rspec