mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Removed iit on unit test
This commit is contained in:
@@ -9,14 +9,14 @@ describe('Ionic Toggle', function() {
|
||||
el = $compile('<ion-toggle ng-model="data.name"></ion-toggle>')($rootScope);
|
||||
}));
|
||||
|
||||
iit('Should load', function() {
|
||||
it('Should load', function() {
|
||||
var toggleView = el.isolateScope().toggle;
|
||||
expect(toggleView).not.toEqual(null);
|
||||
expect(toggleView.checkbox).not.toEqual(null);
|
||||
expect(toggleView.handle).not.toEqual(null);
|
||||
});
|
||||
|
||||
iit('Should destroy', function() {
|
||||
it('Should destroy', function() {
|
||||
var toggleView = el.isolateScope().toggle;
|
||||
spyOn(toggleView, 'destroy');
|
||||
el.isolateScope().$destroy();
|
||||
|
||||
Reference in New Issue
Block a user