fluentd-ui/config/initializers/prefetch_gem_updates.rb
Kenji Okimoto 25f0848809
Stop checking plugin updates when test
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-18 16:12:13 +09:00

5 lines
169 B
Ruby

require "plugin" # Avoid: RuntimeError Circular dependency detected while autoloading constant Plugin
unless Rails.env.test?
AllPluginCheckUpdateJob.perform_later
end