more logging for the duplicate-id bug
authorSteve Hackbarth <stephenhackbarth@gmail.com>
Thu, 17 Apr 2014 16:53:43 +0000 (12:53 -0400)
committerSteve Hackbarth <stephenhackbarth@gmail.com>
Thu, 17 Apr 2014 16:53:43 +0000 (12:53 -0400)
test/lib/crud.js
test/specs/incident_resolution.js

index 9c503fc..152e1dc 100644 (file)
@@ -307,6 +307,7 @@ var _ = require("underscore"),
         console.log("Model event", model.getStatusString(), arguments);
       });
     }
+    console.log(data.updated ? "About to update" : "About to save", model.recordType, model.id);
     model.save(null, {});
   };
 
index 846ad2e..be7ebaa 100644 (file)
@@ -60,8 +60,8 @@
       read: true
     },
     createHash: {
-      description: "test account" + Math.random(),
-      name: "test IncidentResolution",
+      name: "InctRes" + Math.random(),
+      description: "Incident Resolution 123",
       order: 10
     },
     updatableField: "description"