summaryrefslogtreecommitdiff
path: root/spec/integration
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-02-07 15:47:36 +0100
committerGitHub <noreply@github.com>2018-02-07 15:47:36 +0100
commit98acb206e6e54e7da8e68a1c6f54039b817fe9a6 (patch)
tree6bdb59d6c2e3b715edab947ebc349040ed154a97 /spec/integration
parentf11e054070f54e72bf0c7110d0267bdd9a8f47d5 (diff)
parent24e7783d852778204c50b877a12a468b11c985a7 (diff)
downloadchef-98acb206e6e54e7da8e68a1c6f54039b817fe9a6.tar.gz
Merge pull request #6364 from chef/knife_rb
Link to the knife docs when the knife config file is missing
Diffstat (limited to 'spec/integration')
-rw-r--r--spec/integration/knife/deps_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/knife/deps_spec.rb b/spec/integration/knife/deps_spec.rb
index 40ec411780..3f200396ba 100644
--- a/spec/integration/knife/deps_spec.rb
+++ b/spec/integration/knife/deps_spec.rb
@@ -242,7 +242,7 @@ EOM
it "knife deps --tree prints each once" do
knife("deps --tree /roles/foo.json /roles/self.json") do
expect(stdout).to eq("/roles/foo.json\n /roles/bar.json\n /roles/baz.json\n /roles/foo.json\n/roles/self.json\n /roles/self.json\n")
- expect(stderr).to eq("WARNING: No knife configuration file found\n")
+ expect(stderr).to eq("WARNING: No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.\n")
end
end
end
@@ -580,7 +580,7 @@ EOM
it "knife deps --tree prints each once" do
knife("deps --remote --tree /roles/foo.json /roles/self.json") do
expect(stdout).to eq("/roles/foo.json\n /roles/bar.json\n /roles/baz.json\n /roles/foo.json\n/roles/self.json\n /roles/self.json\n")
- expect(stderr).to eq("WARNING: No knife configuration file found\n")
+ expect(stderr).to eq("WARNING: No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.\n")
end
end
end