add tests for creating/updating wikis, fix page name bug along the way

This commit is contained in:
rick
2010-12-09 16:11:12 -08:00
parent aeb90c6293
commit 2c8be3d95b
5 changed files with 59 additions and 9 deletions
+3
View File
@@ -1,4 +1,5 @@
require 'rubygems'
require 'rack/test'
require 'test/unit'
require 'shoulda'
require 'mocha'
@@ -8,7 +9,9 @@ dir = File.dirname(File.expand_path(__FILE__))
$LOAD_PATH.unshift(File.join(dir, '..', 'lib'))
$LOAD_PATH.unshift(dir)
ENV['RACK_ENV'] = 'test'
require 'gollum'
require 'gollum/frontend/app'
# Make sure we're in the test dir, the tests expect that to be the current
# directory.