github/hubot-scripts — Issue #205: Running tests
Author: EnriqueVidal
Created: 2011-12-09 22:07:52+00:00
State: open

Hi, I just rewrote a script, I haven't written the test yet, so I run npm install then make test and this is what I see:

```
coffee test/scripts/hubot_test.coffee
coffee test/scripts/isup_test.coffee
[Fri, 09 Dec 2011 22:04:10 GMT] INFO Loading adapter helper
[Fri, 09 Dec 2011 22:04:10 GMT] ERROR Cannot load adapter helper - Error: Cannot find module 'hubot-helper'

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: undefined is not a function
at CALL_NON_FUNCTION_AS_CONSTRUCTOR (native)
at Helper.receive (/Users/enriquevidal/Desktop/hubot-scripts/test/tests.coffee:65:14)
at /Users/enriquevidal/Desktop/hubot-scripts/test/scripts/isup_test.coffee:30:12
at Server. (/Users/enriquevidal/Desktop/hubot-scripts/test/tests.coffee:33:16)
at Server.emit (events.js:61:17)
at Server._startWatcher (net.js:1096:8)
at Array. (net.js:1129:10)
at EventEmitter._tickCallback (node.js:126:26)
coffee test/scripts/speak_test.coffee
[Fri, 09 Dec 2011 22:04:10 GMT] INFO Loading adapter helper
[Fri, 09 Dec 2011 22:04:10 GMT] ERROR Cannot load adapter helper - Error: Cannot find module 'hubot-helper'

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: undefined is not a function
at CALL_NON_FUNCTION_AS_CONSTRUCTOR (native)
at Helper.receive (/Users/enriquevidal/Desktop/hubot-scripts/test/tests.coffee:65:14)
at /Users/enriquevidal/Desktop/hubot-scripts/test/scripts/speak_test.coffee:26:19
at Server. (/Users/enriquevidal/Desktop/hubot-scripts/test/tests.coffee:33:16)
at Server.emit (events.js:61:17)
at Server._startWatcher (net.js:1096:8)
at Array. (net.js:1129:10)
at EventEmitter._tickCallback (node.js:126:26)
coffee test/tests.coffee
make: *** [test] Error 123
```

Did I miss any step?