diff --git a/lib/seed_helper.rb b/lib/seed_helper.rb index 38210ace688..8d9960da5ae 100644 --- a/lib/seed_helper.rb +++ b/lib/seed_helper.rb @@ -158,12 +158,6 @@ def format_errors(model = nil) model.errors.full_messages.join(';') end - private - - def logger - Foreman::Logging.logger('app') - end - def test_template_requirements(template_name, requirements) requirements.each do |r| plugin = Foreman::Plugin.find(r['plugin']) @@ -178,5 +172,11 @@ def test_template_requirements(template_name, requirements) end true end + + private + + def logger + Foreman::Logging.logger('app') + end end end