Added ability to append to documents. Added test cases for the same (#963)
* added ability to append to documents. Added test cases for the same * made changes required for lint test * updated snapshot for document.test.js to reflect new test cases added * append should not enforce newline character
This commit is contained in:
@@ -107,6 +107,15 @@ Object {
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`#documents.update should require text while appending 1`] = `
|
||||
Object {
|
||||
"error": "param_required",
|
||||
"message": "Text is required while appending",
|
||||
"ok": false,
|
||||
"status": 400,
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`#documents.viewed should require authentication 1`] = `
|
||||
Object {
|
||||
"error": "authentication_required",
|
||||
|
||||
Reference in New Issue
Block a user