smc-hub
Version:
CoCalc: Backend webserver component
28 lines (18 loc) • 750 B
text/coffeescript
#########################################################################
# This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
# License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
#########################################################################
###
TESTING of user queries specifically involving projects
COPYRIGHT : (c) 2017 SageMath, Inc.
LICENSE : AGPLv3
###
pgtest = require('./pgtest')
db = undefined
setup = (cb) -> (pgtest.setup (err) -> db=pgtest.db; cb(err))
teardown = pgtest.teardown
{create_accounts, create_projects} = pgtest
async = require('async')
expect = require('expect')
misc = require('smc-util/misc')
describe 'extensive tests of editing properties of a project', ->