Merge pull request #397 from valera-rozuvan/remove_unnecessary_parameter_to_function_call

Removed unnecessary parameter from suiteFactory() call.
This commit is contained in:
Davis W. Frank
2013-07-21 07:41:22 -07:00

View File

@@ -270,7 +270,7 @@ getJasmineRequireObj().Env = function(j$) {
// TODO: move this to closure
Env.prototype.describe = function(description, specDefinitions) {
var suite = this.suiteFactory(description, specDefinitions);
var suite = this.suiteFactory(description);
var parentSuite = this.currentSuite;
parentSuite.addSuite(suite);