spec/system/system_spec.rb in puppet-check-1.6.1 vs spec/system/system_spec.rb in puppet-check-2.0.0
- old
+ new
@@ -36,13 +36,13 @@
# clear out arrays from previous system test
PuppetCheck.settings[:error_files] = []
PuppetCheck.settings[:warning_files] = []
PuppetCheck.settings[:clean_files] = []
PuppetCheck.settings[:ignored_files] = []
- PuppetCheck.settings[:style_check] = true
+ PuppetCheck.settings[:style] = true
# see regression_check_spec
unless File.directory?('/home/travis')
- PuppetCheck.settings[:smoke_check] = true
+ PuppetCheck.settings[:smoke] = true
PuppetCheck.settings[:octonodes] = %w[good.example.com]
PuppetCheck.settings[:octoconfig] = 'spec/octocatalog-diff/octocatalog-diff.cfg.rb'
end
expect { tasks }.not_to raise_exception