Skip to content

Commit

Permalink
Ooops - uncomment the original destroy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nat Budin committed May 2, 2008
1 parent 1bf618a commit e8ad330
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jester_test.html
Expand Up @@ -446,7 +446,7 @@
********************************************/

function testDestroy() {
/*var eric = User.build({id: 1})
var eric = User.build({id: 1})
Ajax = { Request : function (url, options) {
this.transport = { status : 500 };
}
Expand All @@ -467,7 +467,7 @@
assertEquals(eric, eric.destroy());
assertNull(eric.id);
assert_changed();
});*/
});

// Path prefixed destroy
Resource.model("Post", {prefix: "/users/:user_id"});
Expand Down

0 comments on commit e8ad330

Please sign in to comment.