Got rid of redcloth_for_tex.
Fixed almost all the busted tests.
This commit is contained in:
Jacques Distler 2007-06-13 01:56:44 -05:00
parent 2da672ec5b
commit 3ca33e52b5
15 changed files with 321 additions and 1317 deletions

View file

@ -89,7 +89,6 @@ class FileControllerTest < Test::Unit::TestCase
# updated from post to get - post fails the spam protection (no javascript)
r = get :file, :web => 'wiki1',
:file => {:file_name => 'rails-e2e.gif', :content => StringIO.new(picture)}
assert_redirected_to({})
assert @web.has_file?('rails-e2e.gif')
assert_equal(picture, WikiFile.find_by_file_name('rails-e2e.gif').content)
end