From 54fcc977250c899d50d899134c7f44d8223748cf Mon Sep 17 00:00:00 2001 From: Jeff Kolesky Date: Thu, 24 Mar 2016 08:54:31 -0700 Subject: [PATCH] Checks for link file extension in tests --- test/test_tags.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_tags.rb b/test/test_tags.rb index 84594188..548df475 100644 --- a/test/test_tags.rb +++ b/test/test_tags.rb @@ -492,7 +492,7 @@ CONTENT end should "have the url to the \"yaml_with_dots\" item" do - assert_match %r{/methods/yaml_with_dots}, @result + assert_match %r{/methods/yaml_with_dots\.html}, @result end end @@ -514,11 +514,11 @@ CONTENT end should "have the url to the \"sanitized_path\" item" do - assert_match %r{1\s/methods/sanitized_path}, @result + assert_match %r{1\s/methods/sanitized_path\.html}, @result end should "have the url to the \"site/generate\" item" do - assert_match %r{2\s/methods/site/generate}, @result + assert_match %r{2\s/methods/site/generate\.html}, @result end end