Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

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.