Révision 8f5d09ec
Linting
spec/classes/router_spec.rb | ||
---|---|---|
7 | 7 |
context "on #{os}" do |
8 | 8 |
let(:facts) { os_facts } |
9 | 9 |
|
10 |
context "as router" do
|
|
11 |
let(:pre_condition) {
|
|
10 |
context 'as router' do
|
|
11 |
let(:pre_condition) do
|
|
12 | 12 |
""" |
13 | 13 |
# inet-filter-chain-default_fwd |
14 | 14 |
nftables::rule{ |
... | ... | |
31 | 31 |
content => 'oifname eth0 masquerade'; |
32 | 32 |
} |
33 | 33 |
""" |
34 |
}
|
|
34 |
end
|
|
35 | 35 |
|
36 | 36 |
it { is_expected.to compile } |
37 | 37 |
|
Formats disponibles : Unified diff