diff --git a/test/memes-test.coffee b/test/memes-test.coffee index 83b9517..3ce9473 100644 --- a/test/memes-test.coffee +++ b/test/memes-test.coffee @@ -43,3 +43,17 @@ describe 'modulo memes', -> acc++ if acc is questions.length then done() questions.map (q) -> asjon.send q + + # not testing '-v' mode as it takes too much time + it 'dovrebbe fornire un elenco di memes', (done) -> + questions = [ + 'asjon memes' + ] + acc = 0 + asjon.receive (e,l) -> + if acc is 1 + console.log l.join() + l.join().should.match /^guarda qui:/g + acc++ + if acc is questions.length then done() + questions.map (q) -> asjon.send q