diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 233e123122b..4f440541984 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -450,6 +450,9 @@ module ApplicationHelper end def server_plugin_outlet(name, locals: {}) + # Don't evaluate plugins in test + return "" if Rails.env.test? + matcher = Regexp.new("/connectors/#{name}/.*\.html\.erb$") erbs = ApplicationHelper.all_connectors.select { |c| c =~ matcher } return "" if erbs.blank?