get test running again for zentest > 4.0.0

also fix other bugs in the tests
This commit is contained in:
Reinier Balt 2009-08-05 20:35:31 +02:00
parent ab9fa1fc46
commit bde079a92b
28 changed files with 65 additions and 73 deletions

View file

@ -4,7 +4,7 @@ require 'notes_controller'
# Re-raise errors caught by the controller.
class NotesController; def rescue_action(e) raise e end; end
class NotesControllerTest < Test::Rails::TestCase
class NotesControllerTest < ActionController::TestCase
def setup
@controller = NotesController.new
request = ActionController::TestRequest.new