wrap getNumber test in another describe

This commit is contained in:
Ryan X. Charles 2014-06-23 16:31:17 -07:00
commit 8657e39dd7

View file

@ -64,11 +64,13 @@ describe("Unit: Controllers", function() {
}); });
})); }));
describe('#getNumber', function() {
it('should return an array of n undefined elements', function() { it('should return an array of n undefined elements', function() {
var n = 5; var n = 5;
var array = scope.getNumber(n); var array = scope.getNumber(n);
expect(array.length).equal(n); expect(array.length).equal(n);
}); });
});
}); });