summaryrefslogtreecommitdiff
path: root/spec/support/shared/functional/http.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-01-13 11:44:32 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-01-13 11:44:32 -0800
commitaf4afcc712d24dbc85a9c020a124acadeed295d2 (patch)
tree08a71e81175177fee945d09bb831d5ae37a24606 /spec/support/shared/functional/http.rb
parent1edd3dba71b4531bb1a570dd7e387620e8ee61de (diff)
downloadchef-lcg/trailing_comma.tar.gz
autocorrecting Style/TrailingCommalcg/trailing_comma
chefstyle -a fixed 1044 occurrances
Diffstat (limited to 'spec/support/shared/functional/http.rb')
-rw-r--r--spec/support/shared/functional/http.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/support/shared/functional/http.rb b/spec/support/shared/functional/http.rb
index 963fbf1c5b..cfbb8e3689 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|
@@ -94,7 +94,7 @@ module ChefHTTPShared
{
'Content-Length' => nyan_compressed_size.to_s,
'Content-Type' => 'application/gzip',
- 'Content-Encoding' => 'gzip'
+ 'Content-Encoding' => 'gzip',
}
) {
File.open(nyan_compressed_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|
@@ -122,7 +122,7 @@ module ChefHTTPShared
{
'Content-Length' => (nyan_compressed_size + 1).to_s,
'Content-Type' => 'application/gzip',
- 'Content-Encoding' => 'gzip'
+ 'Content-Encoding' => 'gzip',
}
) {
File.open(nyan_compressed_filename, "rb") do |f|