diff --git a/spec/uh/wm/cli_spec.rb b/spec/uh/wm/cli_spec.rb index ff5b48d..eaaf92b 100644 --- a/spec/uh/wm/cli_spec.rb +++ b/spec/uh/wm/cli_spec.rb @@ -23,14 +23,14 @@ module Uh end it 'parses new CLI arguments' do - cli = instance_spy CLI + cli allow(described_class).to receive(:new) { cli } expect(cli).to receive :parse_arguments! run end it 'runs new CLI' do - cli = instance_spy CLI + cli allow(described_class).to receive(:new) { cli } expect(cli).to receive :run run