mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 00:02:19 -05:00
13 lines
294 B
CoffeeScript
13 lines
294 B
CoffeeScript
|
require '../common'
|
||
|
|
||
|
describe 'LevelFeedback', ->
|
||
|
|
||
|
url = getURL('/db/level.session')
|
||
|
|
||
|
it 'get schema', (done) ->
|
||
|
request.get {uri:url+'/schema'}, (err, res, body) ->
|
||
|
expect(res.statusCode).toBe(200)
|
||
|
body = JSON.parse(body)
|
||
|
expect(body.type).toBeDefined()
|
||
|
done()
|