mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-01 03:16:56 -05:00
23e3821e24
This collapses the difference between master and single-process-server-tests, to remove some larger fixtures files that were in that feature branch.
12 lines
305 B
CoffeeScript
12 lines
305 B
CoffeeScript
require '../common'
|
|
|
|
describe 'Level Thang Component', ->
|
|
|
|
url = getURL('/db/thang.component')
|
|
|
|
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()
|