remove obsolete .go unit test

This commit is contained in:
John Mitchell 2018-04-23 12:41:07 -04:00
parent ee137b8b4d
commit a1541d679c
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94

View File

@ -44,13 +44,6 @@ describe('Components | Side Nav Item', () => {
expect(SideNavItemCtrl.isRoute).toBe(false);
});
it('go() should call $state.go()', angular.mock.inject((_$state_) => {
spyOn(_$state_, 'go');
SideNavItemCtrl.go();
expect(_$state_.go).toHaveBeenCalled();
expect(_$state_.go).toHaveBeenCalledWith('dashboard', jasmine.any(Object), jasmine.any(Object));
}));
it('should load name, icon, and route from scope', () => {
expect(SideNavItem.isolateScope().name).toBeDefined();
expect(SideNavItem.isolateScope().iconClass).toBeDefined();