test(): fix phantomjs test problems for CircleCI

This commit is contained in:
Andrew
2014-08-06 12:10:34 -06:00
parent 7ddb57e60b
commit 41a2124d45
2 changed files with 16 additions and 13 deletions

View File

@@ -698,7 +698,9 @@ describe('Ionic View Service', function() {
}));
it('should not error when clearing empty history', function() {
expect(viewService.clearHistory.bind(null)).not.toThrow();
expect(function() {
viewService.clearHistory();
}).not.toThrow();
});
it('should create a viewService view', inject(function($location) {