mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(backButton): fix test
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user