Skip to content

Commit 591c291

Browse files
authored
Merge pull request #28 from rndmh3ro/rm_hardrning_conf
remove test for hardening.conf file
2 parents b54b03c + 1496de3 commit 591c291

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

controls/nginx_spec.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@
8484
nginx_conf = File.join(nginx_path, 'nginx.conf')
8585
nginx_confd = File.join(nginx_path, 'conf.d')
8686
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]
8987
nginx_parsed_config = command('nginx -T').stdout
9088

9189
options = {
@@ -137,12 +135,6 @@
137135
describe file(File.join(nginx_enabled, 'default')) do
138136
it { should_not be_file }
139137
end
140-
141-
conf_paths.each do |conf_path|
142-
describe file(conf_path) do
143-
it { should be_file }
144-
end
145-
end
146138
end
147139

148140
control 'nginx-04' do

0 commit comments

Comments
 (0)