Révision b5874974
rubocop - RSpec/RepeatedExampleGroupBody
spec/acceptance/all_rules_spec.rb | ||
---|---|---|
107 | 107 |
it { is_expected.to be_enabled } |
108 | 108 |
end |
109 | 109 |
|
110 |
describe file('/etc/nftables/puppet.nft') do |
|
111 |
it { is_expected.to be_file } |
|
112 |
end |
|
113 |
|
|
114 |
describe file('/etc/systemd/system/nftables.service.d/puppet_nft.conf') do |
|
110 |
describe file('/etc/nftables/puppet.nft', '/etc/systemd/system/nftables.service.d/puppet_nft.conf') do |
|
115 | 111 |
it { is_expected.to be_file } |
116 | 112 |
end |
117 | 113 |
|
spec/acceptance/default_spec.rb | ||
---|---|---|
40 | 40 |
it { is_expected.to be_enabled } |
41 | 41 |
end |
42 | 42 |
|
43 |
describe file('/etc/nftables/puppet.nft') do |
|
44 |
it { is_expected.to be_file } |
|
45 |
end |
|
46 |
|
|
47 |
describe file('/etc/systemd/system/nftables.service.d/puppet_nft.conf') do |
|
43 |
describe file('/etc/nftables/puppet.nft', '/etc/systemd/system/nftables.service.d/puppet_nft.conf') do |
|
48 | 44 |
it { is_expected.to be_file } |
49 | 45 |
end |
50 | 46 |
|
Formats disponibles : Unified diff