mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -05:00
11 lines
No EOL
306 B
JavaScript
11 lines
No EOL
306 B
JavaScript
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");
|
|
|
|
}); |