test(ionContent): fix test compiling wrong directive

This commit is contained in:
Andy Joslin
2014-03-21 11:34:35 -05:00
parent e9f38108af
commit ae57c1617d

View File

@@ -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();