Dont call SiteSetting.uncategorized_category_id twice

This commit is contained in:
Vipul A M 2013-11-03 15:36:59 +05:30
parent 5876b6c71b
commit 895d801669

View file

@ -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