🔨 Fix the build 🔨
This commit is contained in:
parent
71e210f683
commit
2f0eccb236
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,7 @@ describe Vagrant::LXC::Driver::CLI do
|
||||||
|
|
||||||
describe 'version' do
|
describe 'version' do
|
||||||
before 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)
|
allow(subject).to receive(:run).with(:version).and_return(lxc_version_out)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -52,6 +53,7 @@ describe Vagrant::LXC::Driver::CLI do
|
||||||
|
|
||||||
describe 'config' do
|
describe 'config' do
|
||||||
before 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(: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(:version).and_return(lxc_version_out)
|
||||||
allow(subject).to receive(:run).with(:create, '--version').and_return(lxc_version_out)
|
allow(subject).to receive(:run).with(:create, '--version').and_return(lxc_version_out)
|
||||||
|
|
Loading…
Reference in a new issue