Make the test less strict.
This commit is contained in:
parent
92817becc8
commit
dd8356861f
1 changed files with 4 additions and 2 deletions
|
@ -95,8 +95,10 @@ suite('Bärneruhr', function () {
|
||||||
language: 'klingon'
|
language: 'klingon'
|
||||||
});
|
});
|
||||||
uhr = elem.uhr('instance');
|
uhr = elem.uhr('instance');
|
||||||
// NB: 'de' is just the first language that is included in the page. that may change!
|
// The 'uhr' element must be created, and a fall-back language must have been selected
|
||||||
assert.equal(uhr.options.language, 'de');
|
assert.isTrue(!!uhr);
|
||||||
|
assert.isTrue(!!uhr.options.language);
|
||||||
|
assert.notEqual(uhr.options.language, 'klingon');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('unknown theme', function () {
|
test('unknown theme', function () {
|
||||||
|
|
Loading…
Reference in a new issue