Skip to content

Commit

Permalink
test(ionRefresher): fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Mar 27, 2014
1 parent 5c893ab commit 75290a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/ext/angular/test/directive/ionicRefresher.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>');
});

});

0 comments on commit 75290a3

Please sign in to comment.