Fix broken spec
This commit is contained in:
parent
e3597e08a7
commit
494bc07e5f
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
require 'unit_helper'
|
require 'unit_helper'
|
||||||
|
|
||||||
|
require 'tmpdir'
|
||||||
require 'vagrant-lxc/action/clear_forwarded_ports'
|
require 'vagrant-lxc/action/clear_forwarded_ports'
|
||||||
|
|
||||||
describe Vagrant::LXC::Action::ClearForwardedPorts do
|
describe Vagrant::LXC::Action::ClearForwardedPorts do
|
||||||
|
|
|
@ -74,7 +74,6 @@ describe Vagrant::LXC::Driver do
|
||||||
describe 'start' do
|
describe 'start' do
|
||||||
let(:customizations) { [['a', '1'], ['b', '2']] }
|
let(:customizations) { [['a', '1'], ['b', '2']] }
|
||||||
let(:internal_customization) { ['internal', 'customization'] }
|
let(:internal_customization) { ['internal', 'customization'] }
|
||||||
let(:rootfs) { ['rootfs', subject.rootfs_path.to_s] }
|
|
||||||
let(:cli) { instance_double('Vagrant::LXC::Driver::CLI', start: true) }
|
let(:cli) { instance_double('Vagrant::LXC::Driver::CLI', start: true) }
|
||||||
|
|
||||||
subject { described_class.new('name', cli) }
|
subject { described_class.new('name', cli) }
|
||||||
|
@ -86,7 +85,7 @@ describe Vagrant::LXC::Driver do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'starts container with configured customizations' do
|
it 'starts container with configured customizations' do
|
||||||
cli.should have_received(:start).with(customizations + [internal_customization, rootfs], nil)
|
cli.should have_received(:start).with(customizations + [internal_customization], nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'expects a transition to running state to take place' do
|
it 'expects a transition to running state to take place' do
|
||||||
|
|
Loading…
Reference in a new issue