diff options
author | Jose Asuncion <jose.asuncion@gmail.com> | 2016-11-22 15:41:27 -0800 |
---|---|---|
committer | Jose Asuncion <jose.asuncion@gmail.com> | 2016-11-29 08:43:51 -0800 |
commit | 8fafb72802c925bd8a27e8f4fa6296dce6e872fb (patch) | |
tree | 4e0435951ec6d4a24a838ea200d6f9d7329173cd | |
parent | c50418a71f793e2d2daa729962ccf0ed4a9e0628 (diff) | |
download | chef-8fafb72802c925bd8a27e8f4fa6296dce6e872fb.tar.gz |
Fix style issues
Signed-off-by: Jose Asuncion <jeunito@gmail.com>
-rw-r--r-- | spec/unit/knife/client_delete_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/knife/node_delete_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/knife/client_delete_spec.rb b/spec/unit/knife/client_delete_spec.rb index 6f46253770..f20b25f5e6 100644 --- a/spec/unit/knife/client_delete_spec.rb +++ b/spec/unit/knife/client_delete_spec.rb @@ -35,7 +35,7 @@ describe Chef::Knife::ClientDelete do end context "receives multiple clients" do - let(:clients) { [ "adam", "ben", "charlie" ] } + let(:clients) { %w{ "adam", "ben", "charlie" } } before(:each) do @knife.name_args = clients diff --git a/spec/unit/knife/node_delete_spec.rb b/spec/unit/knife/node_delete_spec.rb index 46a6b4a1a0..1a6b277dbb 100644 --- a/spec/unit/knife/node_delete_spec.rb +++ b/spec/unit/knife/node_delete_spec.rb @@ -25,7 +25,7 @@ describe Chef::Knife::NodeDelete do @knife.config = { :print_after => nil, } - @knife.name_args = [ "adam", "ben" ] + @knife.name_args = %w{ adam ben } allow(@knife).to receive(:output).and_return(true) allow(@knife).to receive(:confirm).and_return(true) |