diff --git a/tests/spec/choices_spec.js b/tests/spec/choices_spec.js index 63ee039..883a0d1 100644 --- a/tests/spec/choices_spec.js +++ b/tests/spec/choices_spec.js @@ -124,7 +124,7 @@ describe('Choices', function() { }); }); - describe('should handle text inputs', function() { + describe('should accept text inputs', function() { beforeEach(function() { this.input = document.createElement('input'); this.input.type = "text"; @@ -136,11 +136,6 @@ describe('Choices', function() { this.choices = new Choices(this.input); }); - it('should set value via using setValue()', function() { - this.choices.setValue(['test1', 'test2']); - expect(this.choices.currentState.items.length).toEqual(2); - }); - it('should accept a user inputted value', function() { this.choices.input.focus(); this.choices.input.value = 'test'; @@ -159,7 +154,7 @@ describe('Choices', function() { }); }); - describe('should handle single select inputs', function() { + describe('should accept single select inputs', function() { beforeEach(function() { this.input = document.createElement('select'); this.input.className = 'js-choices'; @@ -264,7 +259,7 @@ describe('Choices', function() { }); }); - describe('should handle multiple select inputs', function() { + describe('should accept multiple select inputs', function() { beforeEach(function() { this.input = document.createElement('select'); this.input.className = 'js-choices';