Update describe error message to no longer assume errant args are done
Fixes #896
This commit is contained in:
@@ -291,7 +291,7 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
this.describe = function(description, specDefinitions) {
|
||||
var suite = suiteFactory(description);
|
||||
if (specDefinitions.length > 0) {
|
||||
throw new Error('describe does not expect a done parameter');
|
||||
throw new Error('describe does not expect any arguments');
|
||||
}
|
||||
if (currentDeclarationSuite.markedPending) {
|
||||
suite.pend();
|
||||
|
||||
Reference in New Issue
Block a user