diff options
author | Patrick Walker <bpatrick.walker@gmail.com> | 2016-02-03 23:56:20 +0000 |
---|---|---|
committer | Patrick Walker <bpatrick.walker@gmail.com> | 2016-02-03 23:56:20 +0000 |
commit | 0d627be44e8fa7fd3c2558ccf568d481f0f22cf2 (patch) | |
tree | 8d1868bf0d19b241879d6c8df96d6e3daae1114e /spec | |
parent | 22d700e4a1a3c44d6d794fd5c4c1f8932a74cf17 (diff) | |
download | chef-0d627be44e8fa7fd3c2558ccf568d481f0f22cf2.tar.gz |
Update to Log Level when showing unencrypted databag
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/knife/data_bag_show_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/data_bag_show_spec.rb b/spec/unit/knife/data_bag_show_spec.rb index 489949a0e9..ca1e6277c5 100644 --- a/spec/unit/knife/data_bag_show_spec.rb +++ b/spec/unit/knife/data_bag_show_spec.rb @@ -95,7 +95,7 @@ qux: http://localhost:4000/data/bag_o_data/qux} it "displays the data bag" do expect(Chef::DataBagItem).to receive(:load).with(bag_name, item_name).and_return(data_bag) - expect(knife.ui).to receive(:info).with("Unencrypted data bag detected, ignoring any provided secret options.") + expect(knife.ui).to receive(:warn).with("Unencrypted data bag detected, ignoring any provided secret options.") expected = %q{baz: http://localhost:4000/data/bag_o_data/baz id: id |