Beginning work on client-side unit tests.

This commit is contained in:
Maxim Khlobystov 2015-01-15 16:51:20 -08:00
parent 40431ade89
commit be40164588

View 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>");
});
});