Add pending spec for subnet ping code
This commit is contained in:
parent
0f618a008e
commit
5f8c3955a5
1 changed files with 16 additions and 11 deletions
|
@ -125,11 +125,13 @@ describe Vagrant::LXC::Container do
|
|||
end
|
||||
|
||||
describe 'assigned ip' do
|
||||
# This ip is set on the sample-arp-output based on mac address from sample-config
|
||||
# This ip is set on the sample-arp-output fixture based on mac address from
|
||||
# sample-config fixture
|
||||
let(:ip) { "10.0.3.30" }
|
||||
let(:conf_file_contents) { File.read('spec/fixtures/sample-config') }
|
||||
let(:name) { 'random-container-name' }
|
||||
|
||||
context 'when container mac address gets returned from the first `arp` call' do
|
||||
before do
|
||||
@arp_output = File.read('spec/fixtures/sample-arp-output')
|
||||
subject.stub(:raw) {
|
||||
|
@ -143,4 +145,7 @@ describe Vagrant::LXC::Container do
|
|||
subject.should have_received(:raw).with('arp', '-n')
|
||||
end
|
||||
end
|
||||
|
||||
pending 'when mac address is not returned from an `arp` call'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue