summaryrefslogtreecommitdiff
path: root/spec/unit/deprecated_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-04 16:27:38 -0800
committerTim Smith <tsmith84@gmail.com>2020-03-04 16:42:46 -0800
commitd438a1de3e2ea97b555458a498f278ce1c83941b (patch)
tree83a5093b6e03bae25a4a6086a90b18da3cd8e12f /spec/unit/deprecated_spec.rb
parent34745ce52cd595dd387141ead296e776a0dc859c (diff)
downloadchef-docs_links.tar.gz
Make the links end with /docs_links
Thanks for pointing this out Ian Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/deprecated_spec.rb')
-rw-r--r--spec/unit/deprecated_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/deprecated_spec.rb b/spec/unit/deprecated_spec.rb
index 144a8d2073..993a4dd564 100644
--- a/spec/unit/deprecated_spec.rb
+++ b/spec/unit/deprecated_spec.rb
@@ -44,11 +44,11 @@ describe Chef::Deprecated do
let(:location) { "the location" }
it "displays the full URL" do
- expect(TestDeprecation.new.url).to eql("https://docs.chef.io/deprecations_test")
+ expect(TestDeprecation.new.url).to eql("https://docs.chef.io/deprecations_test/")
end
it "formats a complete deprecation message" do
- expect(TestDeprecation.new(message, location).to_s).to eql("Deprecation CHEF-999 from the location\n\n A test message\n\nPlease see https://docs.chef.io/deprecations_test for further details and information on how to correct this problem.")
+ expect(TestDeprecation.new(message, location).to_s).to eql("Deprecation CHEF-999 from the location\n\n A test message\n\nPlease see https://docs.chef.io/deprecations_test/ for further details and information on how to correct this problem.")
end
end