mirror of
https://github.com/discourse/discourse.git
synced 2025-03-30 12:36:45 +08:00

* Remove use of 0 in favor of `TrustLevel.levels[:newuser]`. * Consolidate two tests into a single one. * Test that disabling the feature works. * Avoid loading full ActiveRecord object in test when we only need to know the existence of the record.