Skip to content

Commit

Permalink
Add rudimentary test to assist with debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Jan 11, 2025
1 parent 2f8fc32 commit 1f35580
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_wiki.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
assert_equal commits, @wiki.log(:page_num => 2).map(&:id)
end

test "list specific directory in the wiki" do
puts @wiki.path_list('Mordor').inspect
assert false
end

test "list files and pages" do
contents = @wiki.tree_list
pages = contents.select {|x| x.is_a?(::Gollum::Page)}
Expand Down

0 comments on commit 1f35580

Please sign in to comment.