Skip to content

Commit

Permalink
Update example to use params properly
Browse files Browse the repository at this point in the history
Signed-off-by: gscho <greg.c.schofield@gmail.com>
  • Loading branch information
gscho committed May 10, 2021
1 parent 401df56 commit cccac97
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs-chef-io/content/inspec/resources/bond.md
Expand Up @@ -75,11 +75,10 @@ The `params` matcher tests arbitrary parameters for the bonded network interface

describe bond('bond0') do
its('mode') { should eq 'IEEE 802.3ad Dynamic link aggregation' }
its('Transmit Hash Policy') { should eq 'layer3+4 (1)' }
its('MII Status') { should eq 'up' }
its('MII Polling Interval (ms)') { should eq '100' }
its('Up Delay (ms)') { should eq '0' }
its('Down Delay (ms)') { should eq '0' }
its('params') { should have_key 'Transmit Hash Policy' }
its('params') { should include 'Transmit Hash Policy' => 'layer3+4 (1)' }
its('params') { should have_key 'MII Status' }
its('params') { should include 'MII Status' => 'up' }
end

## Matchers
Expand Down

0 comments on commit cccac97

Please sign in to comment.