Skip to content

Commit 1a21043

Browse files
author
Dean Sofer
committed
chore(select2): Stubbed new tests
1 parent 773a2a4 commit 1a21043

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/directives/select2/test/select2Spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ describe('uiSelect2', function () {
107107
var element = compile('<select ui-select2 ng-model="foo"></select>');
108108
expect(element.siblings().is('div.select2-container')).toBe(true);
109109
});
110+
it('should not modify the model if there is no initial value', function(){
111+
//TODO
112+
});
110113
});
111114
describe('when model is changed programmatically', function(){
112115
describe('for single select', function(){
@@ -196,6 +199,9 @@ describe('uiSelect2', function () {
196199
var element = compile('<input ui-select2="options" ng-model="foo"/>');
197200
expect(element.siblings().is('div.select2-container')).toBe(true);
198201
});
202+
it('should not modify the model if there is no initial value', function(){
203+
//TODO
204+
});
199205
});
200206
describe('when model is changed programmatically', function(){
201207
describe('for single-select', function(){

0 commit comments

Comments
 (0)