mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(ionContent): fix test compiling wrong directive
This commit is contained in:
@@ -22,7 +22,7 @@ describe('Ionic Content directive', function() {
|
||||
});
|
||||
|
||||
it('has $onScroll (used by $ionicScrollController)', function() {
|
||||
element = compile('<ion-scroll on-scroll="foo()"></ion-scroll>')(scope);
|
||||
element = compile('<ion-content on-scroll="foo()"></ion-content>')(scope);
|
||||
scope = element.scope();
|
||||
scope.foo = jasmine.createSpy('foo');
|
||||
scope.$apply();
|
||||
|
||||
Reference in New Issue
Block a user