Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change tests

  • Loading branch information...
commit 9578590091ad96b87a8de6d5a53b7b38b2277551 1 parent 73c4c3d
@pvorb authored
Showing with 2 additions and 3 deletions.
  1. +1 −2  test/add.js
  2. +1 −1  test/list.js
View
3  test/add.js
@@ -17,8 +17,7 @@ function log(err, comment) {
});
}
-comments.saveComment({
- res: '/log/2011/09/test.html',
+comments.saveComment('/log/2011/09/test.html', {
message: 'this is the text of the comment',
author: 'paul',
website: 'https://vorb.de',
View
2  test/list.js
@@ -3,7 +3,7 @@ var Comments = require('../');
var comments = new Comments();
// list all comments
-comments.getComments('/path/document', function(err, results) {
+comments.getComments('/log/2011/09/test.html', function(err, results) {
results.each(function(err, comment) {
if (err) throw err;
Please sign in to comment.
Something went wrong with that request. Please try again.