A spec without a function provided should be pending not disabled
Fixes #840
This commit is contained in:
@@ -50,7 +50,7 @@ getJasmineRequireObj().Spec = function(j$) {
|
||||
|
||||
this.onStart(this);
|
||||
|
||||
if (!this.isExecutable() || enabled === false) {
|
||||
if (!this.isExecutable() || this.markedPending || enabled === false) {
|
||||
complete(enabled);
|
||||
return;
|
||||
}
|
||||
@@ -127,7 +127,7 @@ getJasmineRequireObj().Spec = function(j$) {
|
||||
};
|
||||
|
||||
Spec.prototype.isExecutable = function() {
|
||||
return !this.disabled && !this.markedPending;
|
||||
return !this.disabled;
|
||||
};
|
||||
|
||||
Spec.prototype.getFullName = function() {
|
||||
|
||||
Reference in New Issue
Block a user