viatropos/tower — Issue #15: package.json is missing mongodb test dependency
Author: abovethewater
Created: 2012-02-29 15:48:17+00:00
State: open

mongodb is not defined as a dependency, but tests fail without it.

```
npm install -d
...
```
```
npm test

:tower $ npm test

> tower@0.3.9-7 test /Users/abc/tower
> mocha $(find test -name "*Test.coffee") -r coffee-script $@

1) "before all" hook

✖ 1 of 277 tests failed:

1) "before all" hook:
Error: Cannot find module 'mongodb'
at Function._resolveFilename (module.js:326:11)
at Function._load (module.js:271:25)
at require (module.js:355:19)
at Function.lib (/Users/jmathews/bitbucket/tower/lib/tower/store/mongodb/configuration.js:33:14)
at Function.initialize (/Users/jmathews/bitbucket/tower/lib/tower/store/mongodb/database.js:9:22)
at Context. (/Users/jmathews/bitbucket/tower/test/config.coffee:120:32)
at Hook.run (/Users/jmathews/bitbucket/tower/node_modules/mocha/lib/runnable.js:143:15)
at next (/Users/jmathews/bitbucket/tower/node_modules/mocha/lib/runner.js:167:10)
at Array.0 (/Users/jmathews/bitbucket/tower/node_modules/mocha/lib/runner.js:176:5)
at EventEmitter._tickCallback (node.js:126:26)
```