codecombat/spec/server/functional/level_feedback.spec.coffee

14 lines
327 B
CoffeeScript
Raw Normal View History

require '../common'
request = require '../request'
describe 'LevelFeedback', ->
url = getURL('/db/level.feedback')
it 'get schema', (done) ->
2014-06-30 22:16:26 -04:00
request.get {uri: url+'/schema'}, (err, res, body) ->
expect(res.statusCode).toBe(200)
body = JSON.parse(body)
expect(body.type).toBeDefined()
done()