if ENV['DB'] has mongodb then run rake mongoid else spec