diff options
author | Thom May <thom@chef.io> | 2017-12-11 13:23:03 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2017-12-11 13:23:03 +0000 |
commit | a2adcf97ab0f55260d995ea9d2d5fed0654f44e1 (patch) | |
tree | 124ff8789c71c43dffd07b2910f9bebafb5a17a4 /spec/unit/knife | |
parent | 35eac8934a51d86bf9e12131b40148642d0b06cf (diff) | |
download | chef-a2adcf97ab0f55260d995ea9d2d5fed0654f44e1.tar.gz |
Fix sneaky chefstyle violationstm/fix_chefstyle
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'spec/unit/knife')
-rw-r--r-- | spec/unit/knife/data_bag_create_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/knife/data_bag_create_spec.rb b/spec/unit/knife/data_bag_create_spec.rb index f7dfc075e1..c586a8df1d 100644 --- a/spec/unit/knife/data_bag_create_spec.rb +++ b/spec/unit/knife/data_bag_create_spec.rb @@ -79,7 +79,7 @@ describe Chef::Knife::DataBagCreate do expect { knife.run }.to exit_with_code(1) end end - + context "when part of the name is a reserved name" do before do exception = double("404 error", :code => "404") @@ -89,7 +89,7 @@ describe Chef::Knife::DataBagCreate do .and_raise(Net::HTTPServerException.new("404", exception)) end end - + it "will create a data bag containing a reserved word" do %w{node role client environment}.each do |name| knife.name_args = ["sudoing_#{name}_admins"] @@ -100,7 +100,7 @@ describe Chef::Knife::DataBagCreate do end end end - + context "when given one argument" do before do knife.name_args = [bag_name] |