mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(ionRefresher): fix unit test
This commit is contained in:
@@ -92,11 +92,11 @@ describe('ionRefresher directive', function() {
|
||||
});
|
||||
it('should allow pullingText', function() {
|
||||
var el = setup('pulling-text="{{2+2}} <b>some</b> text"');
|
||||
expect(el[0].querySelector('.pulling-text').innerHTML).toBe('4 <b>some</b> text');
|
||||
expect(el[0].querySelector('.text-pulling').innerHTML).toBe('4 <b>some</b> text');
|
||||
});
|
||||
it('should allow refreshingText', function() {
|
||||
var el = setup('refreshing-text="{{3+2}} <b>text</b>"');
|
||||
expect(el[0].querySelector('.refreshing-text').innerHTML).toBe('5 <b>text</b>');
|
||||
expect(el[0].querySelector('.text-refreshing').innerHTML).toBe('5 <b>text</b>');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user