refactor(scroll): minor tweak to make unit tests happy

This commit is contained in:
Perry Govier
2014-07-24 12:27:42 -05:00
parent 74711cbc36
commit 4e6ba5b818
2 changed files with 2 additions and 2 deletions

View File

@@ -310,7 +310,7 @@ describe('$ionicScroll Controller', function() {
});
});
it('should work', function() {
it('.anchorScroll with el matching hash should scroll to it, even if the el is not directly below the list', function() {
var ele = {
offsetLeft: 8,
offsetTop: 9,