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

Commit 068d181

Browse files
Jacobswesleycho
Jacobs
authored andcommitted
test(tab): fix ng-repeat select twice callback
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
1 parent 9c0acf6 commit 068d181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/tabs/test/tabs.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ describe('tabs', function() {
309309
scope.select = jasmine.createSpy();
310310
elm = $compile([
311311
'<uib-tabset>',
312-
' <uib-tab ng-repeat="t in tabs" active="t.active" select="select()">',
312+
' <uib-tab ng-repeat="t in tabs" active="t.active" select="t.select()">',
313313
' <uib-tab-heading><b>heading</b> {{index}}</uib-tab-heading>',
314314
' content {{$index}}',
315315
' </uib-tab>',

0 commit comments

Comments
 (0)