Skip to content

Instantly share code, notes, and snippets.

@mrkurt
Created June 3, 2010 18:23
Show Gist options
  • Save mrkurt/424262 to your computer and use it in GitHub Desktop.
Save mrkurt/424262 to your computer and use it in GitHub Desktop.
asyncTest("a user removes a bookmark", function() {
ars.add_bookmark(ars.current_entries[0], function(bookmark){
ars.delete_bookmark(bookmark, function(){
ars.get_bookmarks(function(){
ok(ars.bookmarks[bookmark.target] == undefined, "bookmark was removed");
start();
});
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment