From 17e335e33a8415f6b2d0b27be6026be79d3ca4fc Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Sun, 23 Feb 2014 23:03:26 -0600 Subject: [PATCH] disabling some tests --- .../angular/test/directive/ionicContent.unit.js | 16 ++++++++-------- .../angular/test/directive/ionicScroll.unit.js | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/js/ext/angular/test/directive/ionicContent.unit.js b/js/ext/angular/test/directive/ionicContent.unit.js index 6d86238100..e9e4ec1ebf 100644 --- a/js/ext/angular/test/directive/ionicContent.unit.js +++ b/js/ext/angular/test/directive/ionicContent.unit.js @@ -34,14 +34,14 @@ describe('Ionic Content directive', function() { expect(scrollElement.hasClass('padding')).toEqual(true); }); - xit('Enables bouncing by default', function() { - ionic.Platform.setPlatform('iPhone'); - element = compile('')(scope); - scope.$apply(); - var newScope = element.isolateScope(); - var scrollView = scope.scrollView; - expect(scrollView.options.bouncing).toBe(true); - }); + // it('Enables bouncing by default', function() { + // ionic.Platform.setPlatform('iPhone'); + // element = compile('')(scope); + // scope.$apply(); + // var newScope = element.isolateScope(); + // var scrollView = scope.scrollView; + // expect(scrollView.options.bouncing).toBe(true); + // }); it('Disables bouncing when has-bouncing = false', function() { ionic.Platform.setPlatform('iPhone'); diff --git a/js/ext/angular/test/directive/ionicScroll.unit.js b/js/ext/angular/test/directive/ionicScroll.unit.js index 02ff4de14e..18b13459ae 100644 --- a/js/ext/angular/test/directive/ionicScroll.unit.js +++ b/js/ext/angular/test/directive/ionicScroll.unit.js @@ -31,14 +31,14 @@ describe('Ionic Scroll Directive', function() { expect(scrollElement.hasClass('padding')).toEqual(true); }); - xit('Enables bouncing by default', function() { - ionic.Platform.setPlatform('iPhone'); - element = compile('')(scope); - scope.$apply(); - var newScope = element.isolateScope(); - var scrollView = scope.scrollView; - expect(scrollView.options.bouncing).toBe(true); - }); + // it('Enables bouncing by default', function() { + // ionic.Platform.setPlatform('iPhone'); + // element = compile('')(scope); + // scope.$apply(); + // var newScope = element.isolateScope(); + // var scrollView = scope.scrollView; + // expect(scrollView.options.bouncing).toBe(true); + // }); it('Disables bouncing when has-bouncing = false', function() { ionic.Platform.setPlatform('iPhone');