diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-04 08:35:04 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-04 08:35:04 -0800 |
commit | 938c37c2dd5bff3b888540ae1ae4d2e51b3208d8 (patch) | |
tree | 2ee587d74840857a1aaffc09692781d64ebd85ef /spec/unit/handler/json_file_spec.rb | |
parent | dfeb0a2f8888ea8e1f1860e3da7ad7a1a4dac56f (diff) | |
download | chef-lcg/whitespace-style.tar.gz |
whitespace fixeslcg/whitespace-style
5533 Style/SpaceInsideHashLiteralBraces
2619 Style/SpaceAroundOperators
2288 Style/EmptyLinesAroundBlockBody
2012 Style/SpaceInsideBlockBraces
1444 Style/AlignHash
1395 Style/SpaceAfterComma
1382 Style/SpaceAroundEqualsInParameterDefault
800 Style/EmptyLinesAroundClassBody
396 Style/IndentationConsistency
354 Style/ExtraSpacing
310 Style/SpaceBeforeBlockBraces
309 Style/EmptyLines
304 Style/TrailingWhitespace
241 Style/MultilineOperationIndentation
230 Style/TrailingBlankLines
219 Style/EmptyLinesAroundModuleBody
212 Style/IndentHash
147 Style/IndentationWidth
120 Style/EmptyLineBetweenDefs
107 Style/SpaceAroundBlockParameters
63 Style/EmptyLinesAroundMethodBody
29 Style/EmptyLinesAroundAccessModifier
1 Style/RescueEnsureAlignment
Diffstat (limited to 'spec/unit/handler/json_file_spec.rb')
-rw-r--r-- | spec/unit/handler/json_file_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/unit/handler/json_file_spec.rb b/spec/unit/handler/json_file_spec.rb index fd3438e65e..d8f56b21a9 100644 --- a/spec/unit/handler/json_file_spec.rb +++ b/spec/unit/handler/json_file_spec.rb @@ -49,7 +49,6 @@ describe Chef::Handler::JsonFile do allow(File).to receive(:open).and_yield(@file_mock) end - it "saves run status data to a file as JSON" do expect(@handler).to receive(:build_report_dir) @handler.run_report_unsafe(@run_status) @@ -59,6 +58,5 @@ describe Chef::Handler::JsonFile do expect(reported_data["end_time"]).to eq((@expected_time + 5).to_s) expect(reported_data["elapsed_time"]).to eq(5) end - end end |