Fix broken spec

This commit is contained in:
Fabio Rehm 2013-07-13 14:02:13 -03:00
parent e3597e08a7
commit 494bc07e5f
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,6 @@
require 'unit_helper'
require 'tmpdir'
require 'vagrant-lxc/action/clear_forwarded_ports'
describe Vagrant::LXC::Action::ClearForwardedPorts do

View file

@ -74,7 +74,6 @@ describe Vagrant::LXC::Driver do
describe 'start' do
let(:customizations) { [['a', '1'], ['b', '2']] }
let(:internal_customization) { ['internal', 'customization'] }
let(:rootfs) { ['rootfs', subject.rootfs_path.to_s] }
let(:cli) { instance_double('Vagrant::LXC::Driver::CLI', start: true) }
subject { described_class.new('name', cli) }
@ -86,7 +85,7 @@ describe Vagrant::LXC::Driver do
end
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
it 'expects a transition to running state to take place' do