Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 13 lines (11 sloc) 0.265 kb
1 2 3 4 5 6 7 8 9 10 11 12
require 'spec/helper/all'
require 'lib/em-synchrony/mongo'
require 'mongo'

describe Mongo::Connection do
  it 'connects to DB' do
    EventMachine.synchrony do
      conn = Mongo::Connection.new 'localhost', 27017, :connect => true
      EM.stop
    end
  end
end
Something went wrong with that request. Please try again.