missed a qunit test

This commit is contained in:
Sam 2013-07-16 15:48:41 +10:00
parent 352ac9e60c
commit ef1c71ba98

View file

@ -16,7 +16,7 @@ Discourse.CategoryChooserView = Discourse.ComboboxView.extend({
this._super();
// TODO perhaps allow passing a param in to select if we need full or not
this.set('content', _.filter(Discourse.Category.list(), function(c){
return c.permission == Discourse.PermissionType.FULL;
return c.permission === Discourse.PermissionType.FULL;
}));
},