Updating docs to show the interface name is required

Signed-off-by: Adam Leff <adam@leff.co>
This commit is contained in:
Adam Leff 2017-05-18 15:28:19 -04:00 committed by Christoph Hartmann
parent 9182ba8574
commit 333c7f15aa

View file

@ -13,7 +13,7 @@ Use the `interface` InSpec audit resource to test basic network adapter properti
An `interface` resource block declares network interface properties to be tested:
describe interface do
describe interface('eth0') do
it { should be_up }
its('speed') { should eq 1000 }
its('name') { should eq eth0 }