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

Commit 331b256

Browse files
mchapmanuser378230
authored and
user378230
committed
Remove identically duplicated test
1 parent 444aeec commit 331b256

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

test/select.spec.js

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,34 +1427,6 @@ describe('ui-select tests', function() {
14271427

14281428
});
14291429

1430-
it('should call refresh function when search text changes', function () {
1431-
1432-
var el = compileTemplate(
1433-
'<ui-select ng-model="selection.selected"> \
1434-
<ui-select-match> \
1435-
</ui-select-match> \
1436-
<ui-select-choices repeat="person in people | filter: $select.search" \
1437-
refresh="fetchFromServer($select.search)" refresh-delay="0"> \
1438-
<div ng-bind-html="person.name | highlight: $select.search"></div> \
1439-
<div ng-if="person.name==\'Wladimir\'"> \
1440-
<span class="only-once">I should appear only once</span>\
1441-
</div> \
1442-
</ui-select-choices> \
1443-
</ui-select>'
1444-
);
1445-
1446-
scope.fetchFromServer = function(){};
1447-
1448-
spyOn(scope, 'fetchFromServer');
1449-
1450-
el.scope().$select.search = 'r';
1451-
scope.$digest();
1452-
$timeout.flush();
1453-
1454-
expect(scope.fetchFromServer).toHaveBeenCalledWith('r');
1455-
1456-
});
1457-
14581430
it('should call refresh function respecting minimum input length option', function () {
14591431

14601432
var el = compileTemplate(

0 commit comments

Comments
 (0)