diff --git a/spec/uh/wm/cli_spec.rb b/spec/uh/wm/cli_spec.rb index 7576c4c..6bcf551 100644 --- a/spec/uh/wm/cli_spec.rb +++ b/spec/uh/wm/cli_spec.rb @@ -165,11 +165,6 @@ module Uh .to change { $LOADED_FEATURES.grep(/abbrev/).any? } .from(false).to(true) end - - it 'logs a message about the feature being loaded' do - expect(cli.env).to receive(:log).with /load.+abbrev.+ruby feature/i - cli.parse_arguments! - end end context 'with layout option' do diff --git a/spec/uh/wm/runner_spec.rb b/spec/uh/wm/runner_spec.rb index 978d31f..a2f82aa 100644 --- a/spec/uh/wm/runner_spec.rb +++ b/spec/uh/wm/runner_spec.rb @@ -74,12 +74,6 @@ module Uh runner.events.emit :quit end - it 'registers manager event hooks for logging' do - runner.register_event_hooks - expect(env).to receive(:log) - runner.events.emit :connected - end - it 'registers layout hook for :connected event' do runner.register_event_hooks expect(env.layout).to receive(:register).with :display @@ -142,12 +136,6 @@ module Uh expect(runner.manager).to receive :disconnect runner.terminate end - - it 'logs about program termination' do - allow(runner.manager).to receive :disconnect - expect(env).to receive(:log).with /terminat/i - runner.terminate - end end end end