diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-12 09:32:14 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-12 09:32:14 -0800 |
commit | 03eadde04eb219bfa8abe52d312261a5142e7266 (patch) | |
tree | b0864a3e70741f5a15f0337824f25b69fc319c07 /spec/support/shared/functional | |
parent | 1e324f073455db7596f37da6bf21b2f6521529ce (diff) | |
download | chef-03eadde04eb219bfa8abe52d312261a5142e7266.tar.gz |
pull rubocop 0.37.2 into chefstyle
this is from the same ruleset that we had, but the new code catches more
conditions.
Diffstat (limited to 'spec/support/shared/functional')
-rw-r--r-- | spec/support/shared/functional/http.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared/functional/http.rb b/spec/support/shared/functional/http.rb index 8e6b5bfa89..d6ba709c77 100644 --- a/spec/support/shared/functional/http.rb +++ b/spec/support/shared/functional/http.rb @@ -81,7 +81,7 @@ module ChefHTTPShared # (expected_content should be uncompressed) @api.get("/nyan_cat_content_length.png", 200, nil, { - "Content-Length" => nyan_uncompressed_size.to_s + "Content-Length" => nyan_uncompressed_size.to_s } ) { File.open(nyan_uncompressed_filename, "rb") do |f| @@ -109,7 +109,7 @@ module ChefHTTPShared # (expected_content should be uncompressed) @api.get("/nyan_cat_truncated.png", 200, nil, { - "Content-Length" => (nyan_uncompressed_size + 1).to_s + "Content-Length" => (nyan_uncompressed_size + 1).to_s } ) { File.open(nyan_uncompressed_filename, "rb") do |f| |