diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-12 11:28:39 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-16 18:41:25 -0700 |
commit | 9dbccaea6312dc13562f262dcf5c044d6c5b572d (patch) | |
tree | 3e2ab08ac537ce7e5ab533946f62283bff0e883e | |
parent | 5d3885ad2704e614cf74cb0baefaf2241fe8687a (diff) | |
download | chef-9dbccaea6312dc13562f262dcf5c044d6c5b572d.tar.gz |
fix Style/VariableName cop
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/unit/lwrp_spec.rb | 4 | ||||
-rw-r--r-- | spec/unit/run_list/run_list_expansion_spec.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/lwrp_spec.rb b/spec/unit/lwrp_spec.rb index 6574a91f13..ab7a6302ee 100644 --- a/spec/unit/lwrp_spec.rb +++ b/spec/unit/lwrp_spec.rb @@ -28,13 +28,13 @@ describe "LWRP" do include Chef::Mixin::ConvertToClassName before do - @original_VERBOSE = $VERBOSE + @original_verbose = $VERBOSE $VERBOSE = nil Chef::Resource::LWRPBase.class_eval { @loaded_lwrps = {} } end after do - $VERBOSE = @original_VERBOSE + $VERBOSE = @original_verbose end def get_lwrp(name) diff --git a/spec/unit/run_list/run_list_expansion_spec.rb b/spec/unit/run_list/run_list_expansion_spec.rb index e1af112dbf..3a39bc79cc 100644 --- a/spec/unit/run_list/run_list_expansion_spec.rb +++ b/spec/unit/run_list/run_list_expansion_spec.rb @@ -104,8 +104,8 @@ describe Chef::RunList::RunListExpansion do end it "produces json tree upon tracing expansion" do - jsonRunList = @expansion.to_json - expect(jsonRunList).to eq(@json) + json_run_list = @expansion.to_json + expect(json_run_list).to eq(@json) end it "has the ordered list of recipes" do |