Fixed tests and removed DOM call from TabBarController

This commit is contained in:
Max Lynch
2013-09-16 11:26:54 -05:00
parent 6c32a638ad
commit 61125473de
4 changed files with 8 additions and 5 deletions

View File

@ -11,7 +11,7 @@ describe('TabBarController', function() {
it('Should add Controllers', function() {
ctrl.addController({
title: 'Item 1',
icon: 'icon-home'
icon: 'icon-home',
});
expect(ctrl.getController(0).title).toEqual('Item 1');