summaryrefslogtreecommitdiff
path: root/chef-config/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-01-15 13:07:58 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2019-01-15 13:07:58 -0800
commit990974ca5cd44df0c77bb6a12fc57a3c32b92e23 (patch)
tree5779719f58254764e57eb9cacde85837295fd2f6 /chef-config/spec
parent4be1ebe66460efb0535e500d6ecb52a147346519 (diff)
downloadchef-990974ca5cd44df0c77bb6a12fc57a3c32b92e23.tar.gz
changes for rubocop engine upgrades.lcg/rubocop-upgrades
this is the result of changes to rules we already previously had enabled. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'chef-config/spec')
-rw-r--r--chef-config/spec/unit/workstation_config_loader_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/chef-config/spec/unit/workstation_config_loader_spec.rb b/chef-config/spec/unit/workstation_config_loader_spec.rb
index 28fbdf63dd..e1717b6574 100644
--- a/chef-config/spec/unit/workstation_config_loader_spec.rb
+++ b/chef-config/spec/unit/workstation_config_loader_spec.rb
@@ -459,7 +459,7 @@ RSpec.describe ChefConfig::WorkstationConfigLoader do
client_key = "barney_rubble.pem"
chef_server_url = "https://api.chef.io/organizations/bedrock"
invalid_config_option1234 = "foobar"
-EOH
+ EOH
content
end
@@ -484,7 +484,7 @@ EOH
}
[default.knife]
ssh_user = "knife_ssh_user"
-EOH
+ EOH
content
end
@@ -506,7 +506,7 @@ EOH
-----BEGIN RSA PRIVATE KEY-----
foo
"""
-EOH
+ EOH
content
end
@@ -515,7 +515,7 @@ EOH
expect(ChefConfig::Config.client_key_contents).to eq(<<~EOH
-----BEGIN RSA PRIVATE KEY-----
foo
-EOH
+ EOH
)
end
end
@@ -531,7 +531,7 @@ EOH
client_name = "explicit"
[context]
client_name = "context"
-EOH
+ EOH
content
end
@@ -573,7 +573,7 @@ EOH
[default]
node_name = 'barney'
client_name = 'barney'
-EOH
+ EOH
content
end