mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 22:41:26 +08:00
Nuke all SiteSetting.stubs
from our codebase.
This commit is contained in:
@ -996,7 +996,7 @@ describe TopicsController do
|
||||
|
||||
context "allow_uncategorized_topics is false" do
|
||||
before do
|
||||
SiteSetting.stubs(:allow_uncategorized_topics).returns(false)
|
||||
SiteSetting.allow_uncategorized_topics = false
|
||||
end
|
||||
|
||||
it "can add a category to an uncategorized topic" do
|
||||
|
Reference in New Issue
Block a user