Dummy communicator runs :test correctly

This commit is contained in:
Eric Saxby 2014-03-10 18:51:47 -07:00
parent a0fee69d04
commit edb4efa10a
1 changed files with 4 additions and 0 deletions

View File

@ -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