{"action":"opened","issue":{"url":"https://api.github.com/repos/cybertk/abao/issues/66","labels_url":"https://api.github.com/repos/cybertk/abao/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/cybertk/abao/issues/66/comments","events_url":"https://api.github.com/repos/cybertk/abao/issues/66/events","html_url":"https://github.com/cybertk/abao/issues/66","id":129272077,"number":66,"title":"error with test","user":{"login":"atdiff","id":16138266,"avatar_url":"https://avatars.githubusercontent.com/u/16138266?v=3","gravatar_id":"","url":"https://api.github.com/users/atdiff","html_url":"https://github.com/atdiff","followers_url":"https://api.github.com/users/atdiff/followers","following_url":"https://api.github.com/users/atdiff/following{/other_user}","gists_url":"https://api.github.com/users/atdiff/gists{/gist_id}","starred_url":"https://api.github.com/users/atdiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atdiff/subscriptions","organizations_url":"https://api.github.com/users/atdiff/orgs","repos_url":"https://api.github.com/users/atdiff/repos","events_url":"https://api.github.com/users/atdiff/events{/privacy}","received_events_url":"https://api.github.com/users/atdiff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-27T21:20:14Z","updated_at":"2016-01-27T21:20:14Z","closed_at":null,"body":"I've setup hook files replicating the 3 examples in the [readme](https://github.com/cybertk/abao#example):\r\n\r\n- before_hook.coffee - with before and after\r\n- callback_hook.coffee - one with beforeAll and afterAll\r\n- test_hook.coffee - one with test\r\n\r\nWhen I run the abao command\r\nabao http://localhost:8081/raml http://localhost:8081/ --hookfiles=*_hook.*\r\n\r\nI get the following error:\r\n\r\n> Error reading hook files (before_hook.coffee,callback_hook.coffee,test_hook.coffee)\r\n> This probably means one or more of your hookfiles is invalid.\r\n> Message: undefined is not a function\r\n> Stack: TypeError: undefined is not a function\r\n>   at Object.<anonymous> (C:\\dev\\test_hook.coffee:3:1)\r\n>   at Object.<anonymous> (C:\\dev\\test_hook.coffee:1:1)\r\n\r\nAm I missing something?  I want to be able to validate the request parameters and response contents.\r\nI also tried running \"npm test\" in the command line of that folder and received a grunt error.  Is a grunt file required to run the tests?"}}