Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ooops - uncomment the original destroy tests

  • Loading branch information...
commit e8ad3307613efee7ad2def2f58cd0e0dbc508fcf 1 parent 1bf618a
Nat Budin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/jester_test.html
View
4 test/jester_test.html
@@ -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"});
Please sign in to comment.
Something went wrong with that request. Please try again.