Merge pull request #1 from ryanxcharles/feature/wallet-creation

wrap getNumber test in another describe
This commit is contained in:
Gustavo Maximiliano Cortez 2014-06-24 09:54:34 -03:00
commit 483555154a

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