From 895d801669137088440bd840a7a8d52d604b22bc Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sun, 3 Nov 2013 15:36:59 +0530 Subject: [PATCH] Dont call `SiteSetting.uncategorized_category_id` twice --- spec/spec_helper.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5d9db385158..e95bab803c4 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -77,8 +77,6 @@ Spork.prefork do config.before(:all) do DiscoursePluginRegistry.clear - uncat_id = SiteSetting.uncategorized_category_id - Discourse.current_user_provider = TestCurrentUserProvider # a bit odd, but this setting is actually preloaded