From 1b6a6f9cea46be7162095e49b789a6012c6c8fda Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Wed, 8 Apr 2015 17:18:44 +0000 Subject: [PATCH] Refactor CLI specs --- spec/uh/wm/cli_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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