summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-10-20 11:54:46 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-10-20 11:54:46 -0700
commitd0dbda11796e819d4a640f9ee58d5a308a109a19 (patch)
tree7b0879c74125f62cf18f79c0e4597904318882e5 /spec/spec_helper.rb
parentec534aa0fce2c0199bf622a06eeb2c291185cdee (diff)
downloadchef-d0dbda11796e819d4a640f9ee58d5a308a109a19.tar.gz
fixes for rubocop 0.44.1 enginelcg/rubocop-0.44.1
a few cops we have enabled got a little more accurate/stricter Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 47a5ec7f9f..7559e797bc 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -174,13 +174,13 @@ RSpec.configure do |config|
running_platform_arch = `uname -m`.strip unless windows?
- config.filter_run_excluding :arch => lambda {|target_arch|
+ config.filter_run_excluding :arch => lambda { |target_arch|
running_platform_arch != target_arch
}
# Functional Resource tests that are provider-specific:
# context "on platforms that use useradd", :provider => {:user => Chef::Provider::User::Useradd}} do #...
- config.filter_run_excluding :provider => lambda {|criteria|
+ config.filter_run_excluding :provider => lambda { |criteria|
type, target_provider = criteria.first
node = TEST_NODE.dup