{"action":"created","issue":{"url":"https://api.github.com/repos/cycomachead/hubot-meme/issues/9","labels_url":"https://api.github.com/repos/cycomachead/hubot-meme/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/cycomachead/hubot-meme/issues/9/comments","events_url":"https://api.github.com/repos/cycomachead/hubot-meme/issues/9/events","html_url":"https://github.com/cycomachead/hubot-meme/issues/9","id":97077994,"number":9,"title":"Tests don't work","user":{"login":"giftig","id":2862039,"avatar_url":"https://avatars.githubusercontent.com/u/2862039?v=3","gravatar_id":"","url":"https://api.github.com/users/giftig","html_url":"https://github.com/giftig","followers_url":"https://api.github.com/users/giftig/followers","following_url":"https://api.github.com/users/giftig/following{/other_user}","gists_url":"https://api.github.com/users/giftig/gists{/gist_id}","starred_url":"https://api.github.com/users/giftig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giftig/subscriptions","organizations_url":"https://api.github.com/users/giftig/orgs","repos_url":"https://api.github.com/users/giftig/repos","events_url":"https://api.github.com/users/giftig/events{/privacy}","received_events_url":"https://api.github.com/users/giftig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T15:31:41Z","updated_at":"2015-07-24T20:20:43Z","closed_at":null,"body":"I forked this intending to add some memes, as I think you're missing some fun ones, but your tests don't work. The test tries to import '../src/hubot-meme', which has since been renamed to just 'meme', and when I correct that, the tests all fail with assertion errors:\r\n\r\n```\r\n  hubot-meme\r\n    1) registers a respond listener\r\n    2) registers a hear listener\r\n\r\n\r\n  0 passing (188ms)\r\n  2 failing\r\n\r\n  1) hubot-meme registers a respond listener:\r\n     AssertionError: expected respond to have been called with arguments /hello/\r\n    respond(/Y U NO (.+)/i, function () {})\r\n    respond(/aliens guy (.+)/i, function () {})\r\n    respond(/iron price (.+)/i, function () {})\r\n    respond(/brace yourself (.+)/i, function () {})\r\n    respond(/(.*) (ALL the .*)/i, function () {})\r\n    respond(/(I DON'?T ALWAYS .*) (BUT WHEN I DO,? .*)/i, function () {})\r\n    respond(/(.*)(SUCCESS|NAILED IT.*)/i, function () {})\r\n    respond(/(.*) (\\w+\\sTOO DAMN .*)/i, function () {})\r\n    respond(/(NOT SURE IF .*) (OR .*)/i, function () {})\r\n    respond(/(YO DAWG .*) (SO .*)/i, function () {})\r\n    respond(/(All your .*) (are belong to .*)/i, function () {})\r\n    respond(/(.*)\\s*BITCH PLEASE\\s*(.*)/i, function () {})\r\n    respond(/(.*)\\s*COURAGE\\s*(.*)/i, function () {})\r\n    respond(/ONE DOES NOT SIMPLY (.*)/i, function () {})\r\n    respond(/(IF YOU .*\\s)(.* GONNA HAVE A BAD TIME)/i, function () {})\r\n    respond(/(.*)TROLLFACE(.*)/i, function () {})\r\n    respond(/(IF .*), ((ARE|CAN|DO|DOES|HOW|IS|MAY|MIGHT|SHOULD|THEN|WHAT|WHEN|WHERE|WHICH|WHO|WHY|WILL|WON\\'T|WOULD)[ \\'N].*)/i, function () {})\r\n    respond(/(.*)(AND IT\\'S GONE.*)/i, function () {})\r\n    respond(/WHAT IF I TOLD YOU (.*)/i, function () {})\r\n    respond(/(WHY THE (FUCK|FRIEND)) (.*)/i, function () {})\r\n    respond(/WTF (.*)/i, function () {})\r\n    respond(/(IF .*)(THAT'D BE GREAT)/i, function () {})\r\n    respond(/(MUCH .*) ((SO|VERY) .*)/i, function () {})\r\n    respond(/(.*)(EVERYWHERE.*)/i, function () {})\r\n      at Context.<anonymous> (test/hubot-meme-test.coffee:21:54)\r\n\r\n  2) hubot-meme registers a hear listener:\r\n     AssertionError: expected spy to have been called with arguments /orly/\r\n      at Context.<anonymous> (test/hubot-meme-test.coffee:24:51)\r\n```\r\nIf I get chance I'll see if I can fix them and add the changes I was intending to make, but not sure what state they've been left in if they're so broken."},"comment":{"url":"https://api.github.com/repos/cycomachead/hubot-meme/issues/comments/124708890","html_url":"https://github.com/cycomachead/hubot-meme/issues/9#issuecomment-124708890","issue_url":"https://api.github.com/repos/cycomachead/hubot-meme/issues/9","id":124708890,"user":{"login":"cycomachead","id":1505907,"avatar_url":"https://avatars.githubusercontent.com/u/1505907?v=3","gravatar_id":"","url":"https://api.github.com/users/cycomachead","html_url":"https://github.com/cycomachead","followers_url":"https://api.github.com/users/cycomachead/followers","following_url":"https://api.github.com/users/cycomachead/following{/other_user}","gists_url":"https://api.github.com/users/cycomachead/gists{/gist_id}","starred_url":"https://api.github.com/users/cycomachead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cycomachead/subscriptions","organizations_url":"https://api.github.com/users/cycomachead/orgs","repos_url":"https://api.github.com/users/cycomachead/repos","events_url":"https://api.github.com/users/cycomachead/events{/privacy}","received_events_url":"https://api.github.com/users/cycomachead/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T20:20:43Z","updated_at":"2015-07-24T20:20:43Z","body":"I've just been manually, so yeah, the tests have been broken. If you want to add anything, I'll just test manually for now, and I'll welcome the contributions! :)\r\n\r\nIf you're interested in fixing tests, then by all mean, I appreciate it! It's been on the list of things to do..."}}