Skip to content

Commit

Permalink
test relative linking through parent
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Mar 2, 2023
1 parent 83a9482 commit bd89111
Show file tree
Hide file tree
Showing 5 changed files with 3,083 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spec/html-proofer/command_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
end

it "navigates above itself in a subdirectory" do
real_link = File.join(FIXTURES_DIR, "links", "root_folder/documentation-from-my-project/")
real_link = File.join(FIXTURES_DIR, "links", "root_folder/admin/")
output = make_bin("--root-dir #{File.join(FIXTURES_DIR, "links", "root_folder/")} #{real_link}")
expect(output).to(match("successfully"))
end
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<a href="../admin/root_link.html"> </a>
Loading

0 comments on commit bd89111

Please sign in to comment.