summaryrefslogtreecommitdiff
path: root/chef-config/spec/unit/workstation_config_loader_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-07-31 09:57:05 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-07-31 09:57:05 -0700
commit14b9553818265ecc35c037adfe479320e3a70e34 (patch)
treeec8f36c6f929f0c0b56f062484a280d6e645d61e /chef-config/spec/unit/workstation_config_loader_spec.rb
parentf051b6e7912086edc03747f4b1c0285bfb6597f5 (diff)
downloadchef-lcg/weirich-semantic-block.tar.gz
For Discussion: Weirich Semantic Block stylelcg/weirich-semantic-block
Style/BlockDelimiters: Enabled: true EnforcedStyle: semantic See, eg: https://github.com/rubocop-hq/ruby-style-guide/issues/162 http://www.virtuouscode.com/2011/07/26/the-procedurefunction-block-convention-in-ruby/ Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'chef-config/spec/unit/workstation_config_loader_spec.rb')
-rw-r--r--chef-config/spec/unit/workstation_config_loader_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/spec/unit/workstation_config_loader_spec.rb b/chef-config/spec/unit/workstation_config_loader_spec.rb
index e1cab3d4d0..5eb24cdea8 100644
--- a/chef-config/spec/unit/workstation_config_loader_spec.rb
+++ b/chef-config/spec/unit/workstation_config_loader_spec.rb
@@ -255,7 +255,7 @@ RSpec.describe ChefConfig::WorkstationConfigLoader do
tempfile.path
end
- after { File.unlink(explicit_config_location) if File.exist?(explicit_config_location) }
+ after do File.unlink(explicit_config_location) if File.exist?(explicit_config_location) end
context "and is valid" do