discourse/test/javascripts/models/site_test.js

11 lines
306 B
JavaScript
Raw Normal View History

module("Discourse.Site");
test('instance', function(){
var site = Discourse.Site.instance();
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");
});