diff --git a/lib/flowerbox/configuration.rb b/lib/flowerbox/configuration.rb index 52c7410..78e8b02 100644 --- a/lib/flowerbox/configuration.rb +++ b/lib/flowerbox/configuration.rb @@ -58,7 +58,7 @@ module Flowerbox end if reporters.empty? - reporters << Flowerbox::Reporter.for(:progress) + reporters << :progress end end end diff --git a/lib/flowerbox/reporter/progress.rb b/lib/flowerbox/reporter/progress.rb index fcb93c8..a2c89bd 100644 --- a/lib/flowerbox/reporter/progress.rb +++ b/lib/flowerbox/reporter/progress.rb @@ -1,3 +1,5 @@ +require 'flowerbox/reporter/console_base' + module Flowerbox::Reporter class Progress < ConsoleBase def report_progress(result)