Skip to content

Commit

Permalink
disabling some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Bradley committed Feb 24, 2014
1 parent 98a86f2 commit 17e335e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions js/ext/angular/test/directive/ionicContent.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('<ion-content has-header="true"></ion-content>')(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('<ion-content has-header="true"></ion-content>')(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');
Expand Down
16 changes: 8 additions & 8 deletions js/ext/angular/test/directive/ionicScroll.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('<ion-content has-header="true"></ion-scroll>')(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('<ion-content has-header="true"></ion-scroll>')(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');
Expand Down

0 comments on commit 17e335e

Please sign in to comment.