From 7c227fd18142520ef1b50f66257e0bf0ab5acd4b Mon Sep 17 00:00:00 2001 From: Oscar Del Ben Date: Mon, 9 Apr 2012 10:47:32 +0200 Subject: [PATCH] Fix ls expectation --- spec/sheet/list_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/sheet/list_spec.rb b/spec/sheet/list_spec.rb index 0b296ff..667b4e2 100644 --- a/spec/sheet/list_spec.rb +++ b/spec/sheet/list_spec.rb @@ -5,7 +5,7 @@ it 'calls system ls' do cmd = "ls #{Sheet.sheets_dir}" - Sheet.should_receive(:exec).with(cmd) + Sheet.should_receive(:exec).with(cmd, true) Sheet::List.new.list end