Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 265 Bytes
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.