Skip to content

Commit

Permalink
nginx parsed config as attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
micheelengronne committed Jan 19, 2021
1 parent bd1a676 commit ace4195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controls/nginx_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
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_parsed_config = command('nginx -T').stdout
nginx_parsed_config = attribute('nginx_parsed_config', value: command('nginx -T').stdout, description: 'Default nginx test command')

options = {
assignment_regex: /^\s*([^:]*?)\s*\ \s*(.*?)\s*;$/
Expand Down

0 comments on commit ace4195

Please sign in to comment.