Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions controls/nginx_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@
nginx_conf = File.join(nginx_path, 'nginx.conf')
nginx_confd = File.join(nginx_path, 'conf.d')
nginx_enabled = File.join(nginx_path, 'sites-enabled')
nginx_hardening = File.join(nginx_confd, '90.hardening.conf')
conf_paths = [nginx_conf, nginx_hardening]
nginx_parsed_config = command('nginx -T').stdout

options = {
Expand Down Expand Up @@ -137,12 +135,6 @@
describe file(File.join(nginx_enabled, 'default')) do
it { should_not be_file }
end

conf_paths.each do |conf_path|
describe file(conf_path) do
it { should be_file }
end
end
end

control 'nginx-04' do
Expand Down