mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-21 09:40:13 +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,5 +1,10 @@
|
|||
class TodoContainerControllerTestBase < Test::Rails::TestCase
|
||||
class TodoContainerControllerTestBase < ActionController::TestCase
|
||||
|
||||
def setup_controller_request_and_response
|
||||
# override with empty
|
||||
# TODO: remove these ugly hacks
|
||||
end
|
||||
|
||||
def perform_setup(container_class, controller_class)
|
||||
@controller = controller_class.new
|
||||
@request, @response = ActionController::TestRequest.new, ActionController::TestResponse.new
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue