Skip to content

Commit

Permalink
#17. Change comment update tests to actually check for updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
signalpoint committed Feb 16, 2015
1 parent 70734ae commit 97f343a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/services.comment.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ var test_comment_crud = function(callback) {
success:function(comments){
var updated_comment = comments[0];
start();
expect(2);
expect(3);
ok(comment_retrieve_result.cid == updated_comment.cid, "cid");
ok(comment_changes.subject != updated_comment.subject, "subject");
ok(comment.subject != updated_comment.subject, "new subject");
ok(comment.comment_body['und'][0]['value'] != updated_comment.comment_body['und'][0]['value'], "new body");

// Delete

Expand Down

0 comments on commit 97f343a

Please sign in to comment.