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

@ -1,7 +1,7 @@
require File.dirname(__FILE__) + '/../test_helper'
require 'todos_controller'
class TodoCreateParamsHelperTest < Test::Rails::TestCase
class TodoCreateParamsHelperTest < ActiveSupport::TestCase
def test_works_with_request_as_root_hash_entry
params = {'request' => { 'todo' => { 'description' => 'foo'}}}
@ -133,4 +133,4 @@ class TodoCreateParamsHelperTest < Test::Rails::TestCase
assert_equal false, params_helper.context_specified_by_name?
end
end
end