Skip to content

Commit 75290a3

Browse files
committed
test(ionRefresher): fix unit test
1 parent 5c893ab commit 75290a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/ext/angular/test/directive/ionicRefresher.unit.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ describe('ionRefresher directive', function() {
9292
});
9393
it('should allow pullingText', function() {
9494
var el = setup('pulling-text="{{2+2}} <b>some</b> text"');
95-
expect(el[0].querySelector('.pulling-text').innerHTML).toBe('4 <b>some</b> text');
95+
expect(el[0].querySelector('.text-pulling').innerHTML).toBe('4 <b>some</b> text');
9696
});
9797
it('should allow refreshingText', function() {
9898
var el = setup('refreshing-text="{{3+2}} <b>text</b>"');
99-
expect(el[0].querySelector('.refreshing-text').innerHTML).toBe('5 <b>text</b>');
99+
expect(el[0].querySelector('.text-refreshing').innerHTML).toBe('5 <b>text</b>');
100100
});
101101

102102
});

0 commit comments

Comments
 (0)