parent
3d8864bcfa
commit
a395ad1d75
@ -72,10 +72,12 @@ test('empty update clears the selection', function (assert) {
|
||||
var $rendered = $selection.find('.select2-selection__rendered');
|
||||
|
||||
$rendered.text('testing');
|
||||
$rendered.attr('title', 'testing');
|
||||
|
||||
selection.update([]);
|
||||
|
||||
assert.equal($rendered.text(), '');
|
||||
assert.equal($rendered.attr('title'), undefined);
|
||||
});
|
||||
|
||||
test('escapeMarkup is being used', function (assert) {
|
||||
|
@ -72,10 +72,12 @@ test('empty update clears the selection', function (assert) {
|
||||
var $rendered = $selection.find('.select2-selection__rendered');
|
||||
|
||||
$rendered.text('testing');
|
||||
$rendered.attr('title', 'testing');
|
||||
|
||||
selection.update([]);
|
||||
|
||||
assert.equal($rendered.text(), '');
|
||||
assert.equal($rendered.attr('title'), undefined);
|
||||
});
|
||||
|
||||
test('update renders the data text', function (assert) {
|
||||
|
Loading…
Reference in New Issue
Block a user