Merge pull request #1902 from vikhyat/plugin-test-server-side-javascript-2

Don't clear DiscoursePluginRegistry if LOAD_PLUGINS=true.
This commit is contained in:
Sam 2014-02-04 21:13:16 -08:00
commit 391cfe15ab
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ Spork.prefork do
end
config.before(:all) do
DiscoursePluginRegistry.clear
DiscoursePluginRegistry.clear if ENV['LOAD_PLUGINS'] != "true"
Discourse.current_user_provider = TestCurrentUserProvider
# a bit odd, but this setting is actually preloaded