2013-06-17 11:38:30 -04:00
|
|
|
module("Discourse.Site");
|
|
|
|
|
|
|
|
test('instance', function(){
|
|
|
|
|
2013-08-08 12:49:58 -04:00
|
|
|
var site = Discourse.Site.current();
|
2013-06-17 11:38:30 -04:00
|
|
|
|
|
|
|
present(site, "We have a current site singleton");
|
|
|
|
present(site.get('categories'), "The instance has a list of categories");
|
|
|
|
present(site.get('flagTypes'), "The instance has a list of flag types");
|
2013-07-12 16:18:32 -04:00
|
|
|
present(site.get('trustLevels'), "The instance has a list of trust levels");
|
2013-06-17 11:38:30 -04:00
|
|
|
|
|
|
|
});
|