Remove pending spec

This commit is contained in:
Fabio Rehm 2013-07-31 22:15:18 -03:00
parent 5f102d3e10
commit c4429fa158

View file

@ -131,31 +131,6 @@ describe Vagrant::LXC::Driver do
end end
end end
pending 'assigned ip' do
# This ip is set on the sample-ip-addr-output fixture
let(:ip) { "10.0.254.137" }
let(:ifconfig_output) { File.read('spec/fixtures/sample-ip-addr-output') }
let(:cli) { instance_double('Vagrant::LXC::Driver::CLI', :attach => ifconfig_output) }
subject { described_class.new('name', cli) }
context 'when ip for eth0 gets returned from lxc-attach call' do
it 'gets parsed from `ip addr` output' do
subject.assigned_ip.should == ip
cli.should have_received(:attach).with(
'/sbin/ip',
'-4',
'addr',
'show',
'scope',
'global',
'eth0',
namespaces: 'network'
)
end
end
end
describe 'folder sharing' do describe 'folder sharing' do
let(:shared_folder) { {guestpath: '/vagrant', hostpath: '/path/to/host/dir'} } let(:shared_folder) { {guestpath: '/vagrant', hostpath: '/path/to/host/dir'} }
let(:folders) { [shared_folder] } let(:folders) { [shared_folder] }