wrap getNumber test in another describe

This commit is contained in:
Ryan X. Charles 2014-06-23 16:31:17 -07:00
parent ac83477a88
commit 8657e39dd7
1 changed files with 6 additions and 4 deletions

View File

@ -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);
});
});
});