summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-07-08 14:40:39 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-07-08 14:43:33 -0700
commit1da67213c6796462eb8bab291689ffa4a57e128c (patch)
tree8dce92054aa71045a848d3f80692c94e1e94ea2a /spec/spec_helper.rb
parent9e9a408aea747e86385f4d49ef715e9745b6ef50 (diff)
downloadchef-1da67213c6796462eb8bab291689ffa4a57e128c.tar.gz
Style/NegatedUnless
found one. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 875287a0a4..96d02cc5d8 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -159,7 +159,7 @@ RSpec.configure do |config|
config.filter_run_excluding ruby64_only: true unless ruby_64bit?
config.filter_run_excluding ruby32_only: true unless ruby_32bit?
config.filter_run_excluding windows_powershell_dsc_only: true unless windows_powershell_dsc?
- config.filter_run_excluding windows_powershell_no_dsc_only: true unless ! windows_powershell_dsc?
+ config.filter_run_excluding windows_powershell_no_dsc_only: true if windows_powershell_dsc?
config.filter_run_excluding windows_domain_joined_only: true unless windows_domain_joined?
config.filter_run_excluding windows_not_domain_joined_only: true if windows_domain_joined?
# We think this line was causing rspec tests to not run on the Jenkins windows