Skip to content

Commit

Permalink
test(titles): fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Sep 16, 2014
1 parent fe9f43d commit ea51612
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/unit/angular/directive/navBar.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ describe('ionNavBar', function() {
ctrl._animateTitles();
var titles = el[0].querySelectorAll('.title');
expect(titles.length).toBe(2);
expect(titles[0].getAttribute('ng-bind-html')).toEqual('oldTitle');
expect(titles[1].classList.contains('filler-element')).toBe(true);
expect(titles[1].getAttribute('ng-bind-html')).toEqual('oldTitle');
});

it('after raf should have changed titles & cleaned up', inject(function($animate) {
Expand Down

0 comments on commit ea51612

Please sign in to comment.