summaryrefslogtreecommitdiff
path: root/spec/unit/knife/bootstrap_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-11 16:12:49 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-11 16:12:49 -0800
commit002ef48ab082fc8f0767fb37c5b94471a8fd0185 (patch)
tree865e2a2758c93967f926110f3e0eebe93d303f81 /spec/unit/knife/bootstrap_spec.rb
parent6ca21c9ce206f1ada1c12a02afb46e3f1625a321 (diff)
parent37e02399a6e1dd281808a556f1420f8cf6e846fd (diff)
downloadchef-002ef48ab082fc8f0767fb37c5b94471a8fd0185.tar.gz
Merge pull request #4541 from chef/lcg/chefstyle-batch
fix a batch of cops
Diffstat (limited to 'spec/unit/knife/bootstrap_spec.rb')
-rw-r--r--spec/unit/knife/bootstrap_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/bootstrap_spec.rb b/spec/unit/knife/bootstrap_spec.rb
index e8e75e43b5..3425b94c76 100644
--- a/spec/unit/knife/bootstrap_spec.rb
+++ b/spec/unit/knife/bootstrap_spec.rb
@@ -51,7 +51,7 @@ describe Chef::Knife::Bootstrap do
context "with --bootstrap-vault-item" do
let(:bootstrap_cli_options) { [ "--bootstrap-vault-item", "vault1:item1", "--bootstrap-vault-item", "vault1:item2", "--bootstrap-vault-item", "vault2:item1" ] }
it "sets the knife config cli option correctly" do
- expect(knife.config[:bootstrap_vault_item]).to eq({ "vault1" => ["item1", "item2"], "vault2" => ["item1"] })
+ expect(knife.config[:bootstrap_vault_item]).to eq({ "vault1" => %w{item1 item2}, "vault2" => ["item1"] })
end
end