Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
test(tab): fix ng-repeat select twice callback
Browse files Browse the repository at this point in the history
The select callback for the ng-repeat select test twice was bound
to the scope callback instead of the select property in the tabs
array.

Closes #5419
  • Loading branch information
Jacobs authored and wesleycho committed Feb 5, 2016
1 parent 9c0acf6 commit 068d181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tabs/test/tabs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ describe('tabs', function() {
scope.select = jasmine.createSpy();
elm = $compile([
'<uib-tabset>',
' <uib-tab ng-repeat="t in tabs" active="t.active" select="select()">',
' <uib-tab ng-repeat="t in tabs" active="t.active" select="t.select()">',
' <uib-tab-heading><b>heading</b> {{index}}</uib-tab-heading>',
' content {{$index}}',
' </uib-tab>',
Expand Down

0 comments on commit 068d181

Please sign in to comment.