add require rails/mongoid in spec_helper
add production section in mongoid.yml