refact(ionContent): make docs match src

This commit is contained in:
Andy Joslin
2014-03-11 19:34:30 -06:00
parent 9ff7a09af5
commit 4980d09fb3
5 changed files with 19 additions and 30 deletions

View File

@@ -92,7 +92,7 @@ describe('$ionicScroll Controller', function() {
var scrollOnRefreshSpy = jasmine.createSpy('scroll.onRefresh');
scope.$onRefresh = jasmine.createSpy('onRefresh');
scope.$onRefreshOpening = jasmine.createSpy('onRefreshOpening');
scope.$onPulling = jasmine.createSpy('onPulling');
timeout.flush();
var refresher = ctrl.refresher;
@@ -103,7 +103,7 @@ describe('$ionicScroll Controller', function() {
startCb();
expect(refresher.classList.contains('active')).toBe(true);
expect(refresher.classList.contains('refreshing')).toBe(false);
expect(scope.$onRefreshOpening).toHaveBeenCalled();
expect(scope.$onPulling).toHaveBeenCalled();
refreshingCb();
expect(refresher.classList.contains('active')).toBe(false);