mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 20:08:51 +01:00
get test running again for zentest > 4.0.0
also fix other bugs in the tests
This commit is contained in:
parent
ab9fa1fc46
commit
bde079a92b
28 changed files with 65 additions and 73 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue