From edb4efa10ab12a700fdb968c9d129cae3632f14d Mon Sep 17 00:00:00 2001 From: Eric Saxby Date: Mon, 10 Mar 2014 18:51:47 -0700 Subject: [PATCH] Dummy communicator runs :test correctly --- test/unit/support/dummy_communicator.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/unit/support/dummy_communicator.rb b/test/unit/support/dummy_communicator.rb index fa401d47b..4f7ffe914 100644 --- a/test/unit/support/dummy_communicator.rb +++ b/test/unit/support/dummy_communicator.rb @@ -73,6 +73,10 @@ module VagrantTests def sudo(command, opts=nil, &block) execute(command, opts, &block) end + + def test(command, opts=nil) + execute(command, opts) == 0 + end end end end