From 7f80b61aad8ff44a7b6acf6832eac037012f31ac Mon Sep 17 00:00:00 2001 From: Paul Westcott
a Foo b
}, output + end + + test "absent absolute page link from subdirectory" do + index = @wiki.repo.index + index.add("subdir/Bilbo-Baggins.md", "a [[Foo|/Doesntexist]] b") + index.commit("Add files") + + page = @wiki.page("subdir/Bilbo-Baggins") + output = Gollum::Markup.new(page).render + assert_html_equal %{a Foo b
}, output + end + test "absent page link" do @wiki.write_page("Tolkien", :markdown, "a [[J. R. R. Tolkien]]'s b", commit_details) From b300639a432521fc85147c3fc82ac6de3510cdc3 Mon Sep 17 00:00:00 2001 From: Dawa Ometto