Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add additional assertion for testing save with default model params

  • Loading branch information...
commit e5158049f5a499e5adb0afc80d455915adf0f75a 1 parent ec66240
@nbudin nbudin authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/jester_test.html
View
4 test/jester_test.html
@@ -549,6 +549,10 @@
assert(saved);
assert_changed();
});
+
+ Resource.model("User", {defaultParams: {extraOption: "blah"}});
+ var eric = User.build({ 'id' : '1', 'first_name' : 'eric' });
+ assert(eric.save());
}
function testSaveReloadsUponFullResponse() {
Please sign in to comment.
Something went wrong with that request. Please try again.