add function to disable editing, resolves #879

This commit is contained in:
Roman Bambycha
2014-11-17 19:46:46 +02:00
parent 7264510ab2
commit b932763080
14 changed files with 199 additions and 35 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ context "Frontend" do
@path = cloned_testpath("examples/revert.git")
@wiki = Gollum::Wiki.new(@path)
Precious::App.set(:gollum_path, @path)
Precious::App.set(:wiki_options, {})
Precious::App.set(:wiki_options, {allow_editing: true})
end
teardown do