Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap-multiselect
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap-multiselect
Commits
15ba56b2
Commit
15ba56b2
authored
Apr 17, 2016
by
David Stutz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow up on #666.
parent
f6910e40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
58 deletions
+58
-58
bootstrap-multiselect.js
tests/spec/bootstrap-multiselect.js
+58
-58
No files found.
tests/spec/bootstrap-multiselect.js
View file @
15ba56b2
...
...
@@ -706,7 +706,7 @@ describe('Bootstrap Multiselect Specific Issues', function() {
});
});
describe
(
'
Test knockout b
inding
'
,
function
()
{
describe
(
'
Knockout B
inding
'
,
function
()
{
var
$testArea
;
afterEach
(
function
()
{
if
(
$testArea
)
{
...
...
@@ -714,7 +714,7 @@ describe('Test knockout binding', function() {
}
});
it
(
'
s
hould update values and options with an observable array
'
,
function
()
{
it
(
'
S
hould 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
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment