Revert "Deprecate suite/spec ordering hook ."

This reverts commit 76fafa0388.

[#73742528]
This commit is contained in:
Greg Cobb and Tim Jarratt
2014-08-27 17:52:29 -07:00
parent cd4d5c2445
commit 5b397ff33e
3 changed files with 42 additions and 4 deletions

View File

@@ -193,8 +193,8 @@ getJasmineRequireObj().Env = function(j$) {
return topSuite;
};
this.execute = function() {
var runnablesToRun = [topSuite.id];
this.execute = function(runnablesToRun) {
runnablesToRun = runnablesToRun || [topSuite.id];
var allFns = [];
for(var i = 0; i < runnablesToRun.length; i++) {