projects
/
xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6316ae
)
mocha-ier skipAll implementation
author
Steve Hackbarth
<stephenhackbarth@gmail.com>
Tue, 10 Jun 2014 19:34:30 +0000
(15:34 -0400)
committer
Steve Hackbarth
<stephenhackbarth@gmail.com>
Tue, 10 Jun 2014 19:34:30 +0000
(15:34 -0400)
test/lib/runner_engine.js
patch
|
blob
|
history
diff --git
a/test/lib/runner_engine.js
b/test/lib/runner_engine.js
index
6be282e
..
8608927
100644
(file)
--- a/
test/lib/runner_engine.js
+++ b/
test/lib/runner_engine.js
@@
-26,7
+26,9
@@
require:true, __dirname:true, console:true */
var spec = specContents.spec;
- (spec.skipAll ? describe.skip : describe)(spec.recordType + " test", function () {
+ describe(spec.recordType + " test", function () {
+ this.pending = spec.skipAll;
+
if (_.isString(spec.updatableField)) {
spec.updateHash = {};
spec.updateHash[spec.updatableField] = "Test" + Math.random();