Permalink
Browse files

Ooops - uncomment the original destroy tests

  • Loading branch information...
1 parent 1bf618a commit e8ad3307613efee7ad2def2f58cd0e0dbc508fcf Nat Budin committed May 2, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/jester_test.html
View
@@ -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 };
}
@@ -467,7 +467,7 @@
assertEquals(eric, eric.destroy());
assertNull(eric.id);
assert_changed();
- });*/
+ });
// Path prefixed destroy
Resource.model("Post", {prefix: "/users/:user_id"});

0 comments on commit e8ad330

Please sign in to comment.