Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

extract ActionController::TestCaseBehavior so that other test frameworks can use it without having to subclass ActionController::TestCase

#4474

Testing frameworks that want to work with Rails-2 have to do a fair amount of monkey patching to do so. This patch restructures ActionController::TestCase in Rails-3 such that it includes an ActionController::TestCase::Behavior module that any other framework can include without being bound to Test::Unit or ActiveSupport::TestCase.

http://github.com/dchelimsky/rails/commit/6fb7d489a2f8ee9e1fd8ef5e0...

Reported by David Chelimsky · April 25th, 2010 @ 09:23 PM

State: resolved
Milestone: none
Assigned to: José Valim José Valim
Importance: none

Activity

  1. David Chelimsky
    David Chelimsky
    • Tag set to action_controller, patch, testcase
    • Assigned user changed from Yehuda Katz (wycats) to José Valim

    April 25th, 2010 @ 10:11 PM

  2. Repository
    Repository
    • State changed from new to resolved

    (from [176fbfd66fe500ddfd04ffeb08ed014e705a82f9]) extract ActionController::TestCase::Behavior

    • this makes it possible for other test frameworks to hook into testing facilities provided by Rails without having to subclass AC::TestCase.

    [#4474 extract ActionController::TestCaseBehavior so that other test frameworks can ... state:resolved]

    Signed-off-by: José Valim jose.valim@gmail.com
    http://github.com/rails/rails/commit/176fbfd66fe500ddfd04ffeb08ed01...

    April 26th, 2010 @ 08:53 AM

  3. David Chelimsky