1
0
mirror of synced 2025-02-16 20:13:16 +03:00

#3222 test cleanup

Improving my test from feedback.
This commit is contained in:
Stretch 2015-05-08 08:03:46 +10:00
parent 13cead0bd0
commit 581af39288

View File

@ -55,17 +55,11 @@ test('templateSelection can addClass', function (assert) {
text: 'test'
}, $container);
for (var i = 0; i < $container[0].classList.length; i += 1) {
if ($container[0].classList[i] === 'testclass') {
found = true;
}
}
assert.ok(called);
assert.equal(out, 'test');
assert.ok(called);
assert.ok($container.hasClass('testclass'));
});
test('empty update clears the selection', function (assert) {