test/cli/commands/test_compile.rb in nanoc-4.7.0 vs test/cli/commands/test_compile.rb in nanoc-4.7.1
- old
+ new
@@ -127,11 +127,11 @@
end
end
def test_setup_and_teardown_listeners
with_site do
- test_listener_class = Class.new(::Nanoc::CLI::Commands::Compile::Listener) do
+ test_listener_class = Class.new(::Nanoc::CLI::Commands::CompileListeners::Abstract) do
def start
@started = true
end
def stop
@@ -209,10 +209,10 @@
begin
Nanoc::CLI.run(%w(help %))
rescue SystemExit
end
- listener = Nanoc::CLI::Commands::Compile::FileActionPrinter.new(reps: reps)
+ listener = Nanoc::CLI::Commands::CompileListeners::FileActionPrinter.new(reps: reps)
def listener.log(level, action, path, duration)
@events ||= []
@events << {
level: level,