Update tests for memes module
This commit is contained in:
parent
66f6e29e87
commit
8a1d6e49ed
@ -20,7 +20,7 @@ describe 'modulo memes', ->
|
||||
]
|
||||
acc = 0
|
||||
asjon.receive (e,l) ->
|
||||
l.join().should.equal 'http://memegen.link/fry/not_sure_if_this_works/or_not.jpg'
|
||||
l.join().should.equal 'http://memegen.link/fry/not-sure-if-this-works/or-not.jpg'
|
||||
acc++
|
||||
if acc is questions.length then done()
|
||||
questions.map (q) -> asjon.send q
|
||||
@ -32,7 +32,7 @@ describe 'modulo memes', ->
|
||||
]
|
||||
acc = 0
|
||||
asjon.receive (e,l) ->
|
||||
l.join().should.match /^richiesta malformata/g
|
||||
l.join().should.match /^non si usa così/g
|
||||
acc++
|
||||
if acc is questions.length then done()
|
||||
questions.map (q) -> asjon.send q
|
||||
|
Loading…
Reference in New Issue
Block a user