summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/unit/knife/data_bag_create_spec.rb6
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]