Add test for meme overview
This commit is contained in:
parent
b5e051524a
commit
a845edad4e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user