describe("A spec", function() {
application.wirebox = new coldbox.system.ioc.Injector();
structDelete( application, "wirebox" );
it("is just a function, so it can contain any code", function() {
expect( coldbox ).toBe( 22 );
it("can have more than one expectation and talk to scopes", function() {
expect( coldbox ).toBe( 22 );
expect( application.wirebox.getInstance( 'MyService' ) ).toBeComponent();
describe("nested inside a second describe", function() {
it("can reference both scopes as needed ", function() {
expect( coldbox ).toBe( awesome );
it("can be declared after nested suites and have access to nested variables", function() {
expect( awesome ).toBe( 30 );