From 2f0eccb2368a44e825f19b88c46d5168c27a9676 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 15 Oct 2014 01:14:52 -0300 Subject: [PATCH] :hammer: Fix the build :hammer: --- spec/unit/driver/cli_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/unit/driver/cli_spec.rb b/spec/unit/driver/cli_spec.rb index a3e0114..06bdf41 100644 --- a/spec/unit/driver/cli_spec.rb +++ b/spec/unit/driver/cli_spec.rb @@ -30,6 +30,7 @@ describe Vagrant::LXC::Driver::CLI do describe 'version' do before do + allow(subject).to receive(:support_version_command?).and_return(true) allow(subject).to receive(:run).with(:version).and_return(lxc_version_out) end @@ -52,6 +53,7 @@ describe Vagrant::LXC::Driver::CLI do describe 'config' do before do + allow(subject).to receive(:support_version_command?).and_return(support_version_command?) allow(subject).to receive(:run).with(:config, 'lxc.lxcpath').and_return(lxc_config_out) allow(subject).to receive(:run).with(:version).and_return(lxc_version_out) allow(subject).to receive(:run).with(:create, '--version').and_return(lxc_version_out)