summaryrefslogtreecommitdiff
path: root/spec/integration/knife/deps_spec.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-05-03 12:03:45 +0100
committerThom May <thom@chef.io>2016-05-05 14:35:37 +0100
commit7ca0d3eef49e8115bd0927abbefb84a3527f3a33 (patch)
treea3a4dc522b6b440c28ebc18a71c129376117aef6 /spec/integration/knife/deps_spec.rb
parentdb3567feabbb4ab6de40ab22ce44559129c63532 (diff)
downloadchef-7ca0d3eef49e8115bd0927abbefb84a3527f3a33.tar.gz
Introduce display_name and use it
This allows us to use the path we produce for other display purposes and consume it internally to have a canonical path for comparisons and printing Signed-off-by: Thom May <thom@may.lt>
Diffstat (limited to 'spec/integration/knife/deps_spec.rb')
-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 de0872d39c..40eb85cc65 100644
--- a/spec/integration/knife/deps_spec.rb
+++ b/spec/integration/knife/deps_spec.rb
@@ -630,8 +630,8 @@ EOM
it "knife deps /data_bags/bag/item reports an error" do
knife("deps --remote /data_bags/bag/item").should_fail(
:exit_code => 2,
- :stdout => "/data_bags/bag/item\n",
- :stderr => "ERROR: /data_bags/bag/item: No such file or directory\n"
+ :stdout => "/data_bags/bag/item.json\n",
+ :stderr => "ERROR: /data_bags/bag/item.json: No such file or directory\n"
)
end
end