Beginning work on client-side unit tests.
This commit is contained in:
parent
40431ade89
commit
be40164588
9
labs/meteor-client/app/tests/jasmine/client/unit/globalsSpec.js
Executable file
9
labs/meteor-client/app/tests/jasmine/client/unit/globalsSpec.js
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
describe('Global getters', function () {
|
||||||
|
it('should correctly return current config information required by the footer', function () {
|
||||||
|
var returnedInfo = getBuildInformation();
|
||||||
|
expect(returnedInfo.copyrightYear).toEqual('2014');
|
||||||
|
expect(returnedInfo.bbbServerVersion).toEqual('0.9.0');
|
||||||
|
expect(returnedInfo.dateOfBuild).toEqual('Sept 25, 2014');
|
||||||
|
expect(returnedInfo.link).toEqual("<a href='http://bigbluebutton.org/' target='_blank'>http://bigbluebutton.org</a>");
|
||||||
|
});
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user