test(backButton): fix test

This commit is contained in:
Adam Bradley
2015-04-22 16:21:43 -05:00
parent 82dca6abfe
commit 8a01941ecb

View File

@@ -41,7 +41,7 @@ describe('ionNavBackButton directive', function() {
it('should add ng-click if one wasnt provided', inject(function($compile, $rootScope, $ionicConfig) {
$ionicConfig.backButton.icon('none');
setup();
expect( outputEle.attr('ng-click') ).toBe('$ionicGoBack($event)');
expect( outputEle.attr('ng-click') ).toBe('$ionicGoBack()');
}));
it('should add custom ng-click that was provided', inject(function($compile, $rootScope, $ionicConfig) {