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

13 lines
327 B
CoffeeScript

require '../common'
request = require '../request'
describe 'LevelFeedback', ->
url = getURL('/db/level.feedback')
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()