projects
/
xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
817cbe5
)
initialize is synchronous
author
Steve Hackbarth
<stephenhackbarth@gmail.com>
Tue, 10 Jun 2014 19:44:57 +0000
(15:44 -0400)
committer
Steve Hackbarth
<stephenhackbarth@gmail.com>
Tue, 10 Jun 2014 19:44:57 +0000
(15:44 -0400)
test/specs/incident.js
patch
|
blob
|
history
diff --git
a/test/specs/incident.js
b/test/specs/incident.js
index
cca4560
..
509d231
100644
(file)
--- a/
test/specs/incident.js
+++ b/
test/specs/incident.js
@@
-111,11
+111,8
@@
setTimeout:true, before:true, clearTimeout:true, exports:true, it:true, describe
describe("Incident status behavior", function () {
var incidentModel;
- beforeEach(function (
done
) {
+ beforeEach(function () {
incidentModel = new XM.Incident();
- incidentModel.once("status:READY_NEW", function () {
- done();
- });
incidentModel.initialize(null, {isNew: true});
});
it("Incident status starts out as new", function () {