Fix revert for pages in directories, as seen in issue #736

This commit is contained in:
Samer N
2013-11-04 13:03:31 +02:00
parent 714985e377
commit cd3791087f
2 changed files with 6 additions and 6 deletions
+2 -1
View File
@@ -429,7 +429,7 @@ context "Frontend" do
assert_equal "INITIAL", page2.raw_data.strip
end
=end
=begin
test "cannot revert conflicting commit" do
page1 = @wiki.page('A')
@@ -440,6 +440,7 @@ context "Frontend" do
page2 = @wiki.page('A')
assert_equal page1.version.sha, page2.version.sha
end
=end
=begin
# redirects are now handled by class MapGollum in bin/gollum
# they should be set in config.ru