aboutsummaryrefslogtreecommitdiff
path: root/test/integration/protocol.routes.test.ts
diff options
context:
space:
mode:
authorjw2552018-03-04 16:06:18 +0000
committerjw2552018-03-04 16:06:18 +0000
commit46f6e6c7bf1d69d1b3257f6cc186326a57c2b51d (patch)
treeebf45cb9030c23a0c88c8335050093dd02128ef8 /test/integration/protocol.routes.test.ts
parentnow compiles. also added stubs for database testing (diff)
downloadmedicine-46f6e6c7bf1d69d1b3257f6cc186326a57c2b51d.tar.gz
medicine-46f6e6c7bf1d69d1b3257f6cc186326a57c2b51d.zip

started authenticating

Diffstat (limited to 'test/integration/protocol.routes.test.ts')
-rw-r--r--test/integration/protocol.routes.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/protocol.routes.test.ts b/test/integration/protocol.routes.test.ts
index e60cd81..6e71232 100644
--- a/test/integration/protocol.routes.test.ts
+++ b/test/integration/protocol.routes.test.ts
@@ -195,7 +195,7 @@ describe('routes : protocol', () => {
['get', '/projects/:project_name/files_by_id/:id', null, 200]
];
- describe('GET/POST all valid routes', () => {
+ describe('Access all valid routes', () => {
forEach(completeProtocol).it(
'%s %s should be json',
(method: string, path: string, temp: Template, res_code: number) => {
@@ -221,7 +221,7 @@ describe('routes : protocol', () => {
});;
});
forEach(completeProtocol).it(
- '%s %s should conform to the standard response protocol',
+ '%s %s should conform to the general response protocol',
(method: string, path: string, temp: Template, res_code: number) => {
const request: ChaiHttp.Request = method === 'get'
? chai.request(app).get(base + path)