Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
13 lines (11 sloc) 0.265 kb
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
Jump to Line
Something went wrong with that request. Please try again.