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