More clearly differentiate between spec and suite ids

This commit is contained in:
Sheel Choksi
2013-07-29 22:04:08 -07:00
parent 66010d01ec
commit d60786a06c
4 changed files with 13 additions and 13 deletions

View File

@@ -259,12 +259,12 @@ getJasmineRequireObj().Env = function(j$) {
// TODO: move this to closure
Env.prototype.nextSpecId = function() {
return this.nextSpecId_++;
return 'spec' + this.nextSpecId_++;
};
// TODO: move this to closure
Env.prototype.nextSuiteId = function() {
return this.nextSuiteId_++;
return 'suite' + this.nextSuiteId_++;
};
// TODO: move this to closure