diff --git a/test/unit/controllers/controllersSpec.js b/test/unit/controllers/controllersSpec.js index 03c6d0c51..c183ebcf9 100644 --- a/test/unit/controllers/controllersSpec.js +++ b/test/unit/controllers/controllersSpec.js @@ -64,10 +64,12 @@ describe("Unit: Controllers", function() { }); })); - it('should return an array of n undefined elements', function() { - var n = 5; - var array = scope.getNumber(n); - expect(array.length).equal(n); + describe('#getNumber', function() { + it('should return an array of n undefined elements', function() { + var n = 5; + var array = scope.getNumber(n); + expect(array.length).equal(n); + }); }); });