File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
modules/directives/select2/test Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,9 @@ describe('uiSelect2', function () {
107
107
var element = compile ( '<select ui-select2 ng-model="foo"></select>' ) ;
108
108
expect ( element . siblings ( ) . is ( 'div.select2-container' ) ) . toBe ( true ) ;
109
109
} ) ;
110
+ it ( 'should not modify the model if there is no initial value' , function ( ) {
111
+ //TODO
112
+ } ) ;
110
113
} ) ;
111
114
describe ( 'when model is changed programmatically' , function ( ) {
112
115
describe ( 'for single select' , function ( ) {
@@ -196,6 +199,9 @@ describe('uiSelect2', function () {
196
199
var element = compile ( '<input ui-select2="options" ng-model="foo"/>' ) ;
197
200
expect ( element . siblings ( ) . is ( 'div.select2-container' ) ) . toBe ( true ) ;
198
201
} ) ;
202
+ it ( 'should not modify the model if there is no initial value' , function ( ) {
203
+ //TODO
204
+ } ) ;
199
205
} ) ;
200
206
describe ( 'when model is changed programmatically' , function ( ) {
201
207
describe ( 'for single-select' , function ( ) {
You can’t perform that action at this time.
0 commit comments