We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b54b03c + 1496de3 commit 591c291Copy full SHA for 591c291
controls/nginx_spec.rb
@@ -84,8 +84,6 @@
84
nginx_conf = File.join(nginx_path, 'nginx.conf')
85
nginx_confd = File.join(nginx_path, 'conf.d')
86
nginx_enabled = File.join(nginx_path, 'sites-enabled')
87
-nginx_hardening = File.join(nginx_confd, '90.hardening.conf')
88
-conf_paths = [nginx_conf, nginx_hardening]
89
nginx_parsed_config = command('nginx -T').stdout
90
91
options = {
@@ -137,12 +135,6 @@
137
135
describe file(File.join(nginx_enabled, 'default')) do
138
136
it { should_not be_file }
139
end
140
-
141
- conf_paths.each do |conf_path|
142
- describe file(conf_path) do
143
- it { should be_file }
144
- end
145
146
147
148
control 'nginx-04' do
0 commit comments