Checks for link file extension in tests

This commit is contained in:
Jeff Kolesky 2016-03-24 08:54:31 -07:00
parent 4b32bd2b13
commit 54fcc97725
1 changed files with 3 additions and 3 deletions

View File

@ -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