Fix Broken Tests

In preparation for adding new tests, let's fix the existing ones.
3 Unit tests and one Functional test still fail.

* Two unit tests are bugs in xhtmldiff
* One is a bug in Maruku
* A file upload functional test fails, for reasons that escape me.
This commit is contained in:
Jacques Distler 2007-09-11 12:04:26 -05:00
parent 119ab342dc
commit d0e834978a
4 changed files with 66 additions and 34 deletions

View file

@ -1,7 +1,8 @@
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
require File.dirname(__FILE__) + '/../test_helper'
#require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
class WebTest < Test::Unit::TestCase
fixtures :webs, :pages, :revisions, :system, :wiki_references
fixtures :system, :webs, :pages, :revisions, :wiki_references
def setup
@web = webs(:instiki)