diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-05 13:41:00 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-05 13:41:00 -0700 |
commit | 174a2748b54a5dbd746005e2aead59221b80f2b9 (patch) | |
tree | 55e4bacca96b540526f3c19a00d666e68610ea6e /spec/integration/knife | |
parent | 3b10f9ca503dcbce747241281b9151d3d010f9ef (diff) | |
download | chef-174a2748b54a5dbd746005e2aead59221b80f2b9.tar.gz |
fix 4 cops
- Layout/MultilineMethodCallBraceLayout
- Layout/ClosingParenthesisIndentation
- Layout/IndentFirstArgument
EnforcedStyle: consistent
- Layout/BlockEndNewline
the first of these autocorrected to horrible looking code which exposed
that we really needed the other three as well, which also cleaned up a
bunch of other terrible looking code.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/integration/knife')
-rw-r--r-- | spec/integration/knife/config_list_profiles_spec.rb | 3 | ||||
-rw-r--r-- | spec/integration/knife/cookbook_download_spec.rb | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/spec/integration/knife/config_list_profiles_spec.rb b/spec/integration/knife/config_list_profiles_spec.rb index 32846f9999..044b50b5be 100644 --- a/spec/integration/knife/config_list_profiles_spec.rb +++ b/spec/integration/knife/config_list_profiles_spec.rb @@ -183,6 +183,7 @@ describe "knife config list-profiles", :workstation do { "profile" => "default", "active" => true, "client_name" => "testuser", "client_key" => path_to(".chef/testkey.pem"), "server_url" => "https://example.com/organizations/testorg" }, { "profile" => "prod", "active" => false, "client_name" => "testuser", "client_key" => path_to(".chef/testkey.pem"), "server_url" => "https://example.com/organizations/prod" }, { "profile" => "qa", "active" => false, "client_name" => "qauser", "client_key" => path_to("src/qauser.pem"), "server_url" => "https://example.com/organizations/testorg" }, - ] } + ] + } end end diff --git a/spec/integration/knife/cookbook_download_spec.rb b/spec/integration/knife/cookbook_download_spec.rb index 3fe801b64c..538c06802b 100644 --- a/spec/integration/knife/cookbook_download_spec.rb +++ b/spec/integration/knife/cookbook_download_spec.rb @@ -65,7 +65,7 @@ describe "knife cookbook download", :workstation do Downloading root_files Cookbook downloaded to #{tmpdir}/x-1.0.1 EOM -) + ) end end end |