summaryrefslogtreecommitdiff
path: root/spec/integration/knife/upload_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2016-03-06 15:36:18 -0800
committerTim Smith <tsmith84@gmail.com>2016-03-06 18:52:58 -0800
commitbe22d615639c8667f4b29c8f352812fff348620f (patch)
tree00c4dc87d3cba290624ae8d587b2aad588e69559 /spec/integration/knife/upload_spec.rb
parent7e334f961c951c3df84cb24feb98b22607355bc0 (diff)
downloadchef-be22d615639c8667f4b29c8f352812fff348620f.tar.gz
Fix failing specs
Diffstat (limited to 'spec/integration/knife/upload_spec.rb')
-rw-r--r--spec/integration/knife/upload_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/integration/knife/upload_spec.rb b/spec/integration/knife/upload_spec.rb
index 9a1717b2d9..038bbad216 100644
--- a/spec/integration/knife/upload_spec.rb
+++ b/spec/integration/knife/upload_spec.rb
@@ -260,7 +260,7 @@ EOM
end
it "knife upload with no parameters reports an error" do
- knife("upload").should_fail "FATAL: Must specify at least one argument. If you want to upload everything in this directory, type \"knife upload .\"\n", :stdout => /USAGE/
+ knife("upload").should_fail "FATAL: You must specify at least one argument. If you want to upload everything in this directory, run \"knife upload .\"\n", :stdout => /USAGE/
end
end
end
@@ -408,7 +408,7 @@ EOM
end
it "knife upload fails" do
- knife("upload").should_fail "FATAL: Must specify at least one argument. If you want to upload everything in this directory, type \"knife upload .\"\n", :stdout => /USAGE/
+ knife("upload").should_fail "FATAL: You must specify at least one argument. If you want to upload everything in this directory, run \"knife upload .\"\n", :stdout => /USAGE/
end
it "knife upload --purge . uploads everything" do
@@ -911,7 +911,7 @@ EOM
cwd "."
end
it "knife upload with no parameters reports an error" do
- knife("upload").should_fail "FATAL: Must specify at least one argument. If you want to upload everything in this directory, type \"knife upload .\"\n", :stdout => /USAGE/
+ knife("upload").should_fail "FATAL: You must specify at least one argument. If you want to upload everything in this directory, run \"knife upload .\"\n", :stdout => /USAGE/
end
end
end
@@ -1013,7 +1013,7 @@ EOM
cwd "data_bags"
end
it "knife upload fails" do
- knife("upload").should_fail "FATAL: Must specify at least one argument. If you want to upload everything in this directory, type \"knife upload .\"\n", :stdout => /USAGE/
+ knife("upload").should_fail "FATAL: You must specify at least one argument. If you want to upload everything in this directory, run \"knife upload .\"\n", :stdout => /USAGE/
end
it "knife upload --purge . uploads everything" do
knife("upload --purge .").should_succeed <<EOM