Skip to content

Commit

Permalink
Fix warning:already initialized constant LOG_LEVEL (#378)
Browse files Browse the repository at this point in the history
LOG_LEVEL is already defined in: chef-12.8.1/lib/chef/config.rb:38
  • Loading branch information
ruizink authored and JJ Asghar committed Jun 16, 2017
1 parent 0617852 commit aba5022
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,34 @@

# rubocop:disable all

LOG_LEVEL = :fatal
LOGLEVEL = :fatal
SUSE_OPTS = {
:platform => 'suse',
:version => '11.3',
:log_level => LOG_LEVEL
:log_level => LOGLEVEL,
}
REDHAT_OPTS = {
:platform => 'redhat',
:version => '6.5',
:log_level => LOG_LEVEL,
:log_level => LOGLEVEL,
:file_cache_path => '/tmp'
}
UBUNTU_OPTS = {
:platform => 'ubuntu',
:version => '14.04',
:log_level => LOG_LEVEL,
:log_level => LOGLEVEL,
:file_cache_path => '/tmp'
}
CENTOS_OPTS = {
:platform => 'centos',
:version => '7.0',
:log_level => LOG_LEVEL,
:log_level => LOGLEVEL,
:file_cache_path => '/tmp'
}
FEDORA_OPTS = {
:platform => 'fedora',
:version => '20',
:log_level => LOG_LEVEL,
:log_level => LOGLEVEL,
:file_cache_path => '/tmp'
}

Expand Down

0 comments on commit aba5022

Please sign in to comment.