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
Reported by David Chelimsky | April 25th, 2010 @ 09:23 PM
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...
Comments and changes to this ticket
-
David Chelimsky April 25th, 2010 @ 10:11 PM
- Tag set to action_controller, patch, testcase
- Assigned user changed from Yehuda Katz (wycats) to José Valim
-
Repository April 26th, 2010 @ 08:53 AM
- 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 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/176fbfd66fe500ddfd04ffeb08ed01...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>