projecttacoma/bonnie — pull request #133 by pkmitre (2014-03-10 19:05:29+00:00)
Title: Make jasmine tests independent of any content in local MongoDB

We sometimes get Jasmine test failures on Travis that don't happen locally, generally because content in the local MongoDB is required to make the test pass; we don't want *any* dependency on MongoDB content in the Jasmine tests. This pull request tries to address that by breaking the default MongoDB connection during the test setup.