Move next spec/next suite ids into closure

No longer exposing these from the environment
This commit is contained in:
Sheel Choksi
2013-10-24 13:43:04 -07:00
parent d0aff9ed02
commit ab0b2b783c
2 changed files with 13 additions and 24 deletions

View File

@@ -5,14 +5,6 @@ describe("Env", function() {
env = new j$.Env();
});
describe('ids', function() {
it('nextSpecId should return consecutive integers, starting at 0', function() {
expect(env.nextSpecId()).toEqual('spec0');
expect(env.nextSpecId()).toEqual('spec1');
expect(env.nextSpecId()).toEqual('spec2');
});
});
describe("reporting", function() {
var fakeReporter;