summaryrefslogtreecommitdiff
path: root/spec/unit/key_spec.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/unit/key_spec.rb
parent1edd3dba71b4531bb1a570dd7e387620e8ee61de (diff)
downloadchef-af4afcc712d24dbc85a9c020a124acadeed295d2.tar.gz
autocorrecting Style/TrailingCommalcg/trailing_comma
chefstyle -a fixed 1044 occurrances
Diffstat (limited to 'spec/unit/key_spec.rb')
-rw-r--r--spec/unit/key_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/key_spec.rb b/spec/unit/key_spec.rb
index 66f5fb9b13..64601cfbab 100644
--- a/spec/unit/key_spec.rb
+++ b/spec/unit/key_spec.rb
@@ -443,12 +443,12 @@ EOS
actor_type => "foobar",
"name" => key.name,
"create_key" => true,
- "expiration_date" => key.expiration_date
+ "expiration_date" => key.expiration_date,
}
$expected_input = {
"name" => key.name,
"create_key" => true,
- "expiration_date" => key.expiration_date
+ "expiration_date" => key.expiration_date,
}
end
@@ -534,8 +534,8 @@ EOS
key.create_key true
allow(rest).to receive(:put).with(url, key.to_hash).and_return({
"key" => "key_name",
- "public_key" => public_key_string
- })
+ "public_key" => public_key_string,
+ },)
end