From 8657e39dd7934784ac4474a8fbce45bc3f81a13c Mon Sep 17 00:00:00 2001 From: "Ryan X. Charles" Date: Mon, 23 Jun 2014 16:31:17 -0700 Subject: [PATCH] wrap getNumber test in another describe --- test/unit/controllers/controllersSpec.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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); + }); }); });