Commit 15ba56b2 authored by David Stutz's avatar David Stutz

Follow up on #666.

parent f6910e40
......@@ -706,7 +706,7 @@ describe('Bootstrap Multiselect Specific Issues', function() {
});
});
describe('Test knockout binding', function() {
describe('Knockout Binding', function() {
var $testArea;
afterEach(function() {
if ($testArea) {
......@@ -714,7 +714,7 @@ describe('Test knockout binding', function() {
}
});
it('should update values and options with an observable array', function() {
it('Should update values and options with an observable array', function() {
jasmine.clock().install();
$testArea = $('<select multiple="multiple" data-bind="selectedOptions: myValues, options: myOptions, multiselect: {numberDisplayed: 1}"></select>').appendTo(document.body);
......@@ -725,8 +725,8 @@ describe('Test knockout binding', function() {
expect(ko.bindingHandlers.multiselect.init !== undefined).toEqual(true);
var optionSpy = spyOn(ko.bindingHandlers.selectedOptions, 'init').and.callThrough(),
multiSpy = spyOn(ko.bindingHandlers.multiselect, 'init').and.callThrough();
var optionSpy = spyOn(ko.bindingHandlers.selectedOptions, 'init').and.callThrough();
var multiSpy = spyOn(ko.bindingHandlers.multiselect, 'init').and.callThrough();
ko.applyBindings(viewModel, $testArea[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment