diff options
author | Thom May <thom@chef.io> | 2016-10-18 13:36:22 +0100 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-10-18 14:14:13 +0100 |
commit | 73510d27e6286a89dc6818161d57292731162eef (patch) | |
tree | bd7e23454f54910dc8b7957257c65b542b813e92 /spec/integration/knife | |
parent | 1a58b3e8055a2f374e0da38eb7a1c49d035a7c1e (diff) | |
download | chef-73510d27e6286a89dc6818161d57292731162eef.tar.gz |
Return a raw hash when creating objectstm/last_json_deprecations
Fixes chef/chef-vault#215
Signed-off-by: Thom May <thom@may.lt>
Diffstat (limited to 'spec/integration/knife')
-rw-r--r-- | spec/integration/knife/data_bag_create_spec.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/integration/knife/data_bag_create_spec.rb b/spec/integration/knife/data_bag_create_spec.rb index 0a07792dbc..dc61d55fd5 100644 --- a/spec/integration/knife/data_bag_create_spec.rb +++ b/spec/integration/knife/data_bag_create_spec.rb @@ -34,12 +34,10 @@ describe "knife data bag create", :workstation do end it "creates a new data bag and item" do - pending "Deprecation warning must get fixed" knife("data bag create foo bar").should_succeed stdout: out, stderr: err end it "adds a new item to an existing bag" do - pending "Deprecation warning must get fixed" knife("data bag create foo").should_succeed stderr: err knife("data bag create foo bar").should_succeed stdout: out, stderr: exists end @@ -50,7 +48,6 @@ describe "knife data bag create", :workstation do end it "fails to add an existing item" do - pending "Deprecation warning must get fixed" knife("data bag create foo bar").should_succeed stdout: out, stderr: err expect { knife("data bag create foo bar") }.to raise_error(Net::HTTPServerException) end |