This project is archived and is in readonly mode.
extract ActionView::TestCase::Behavior so that other test frameworks can use it without having to subclass ActionView::TestCase
-
David Chelimsky
- Assigned user changed from Yehuda Katz (wycats) to José Valim
-
Repository
- State changed from new to resolved
(from [8e583b69e8b3017e85440c97b325ca7ae0c32dfb]) Move AV::TC to AV::TC::Behavior [#4678 extract ActionView::TestCase::Behavior so that other test frameworks can use ... state:resolved]
- enables alternative testing frameworks to include AV::TC::Behavior instead of subclassing AV::TC
- also added tests and code for:
- test view delegates :notice to request.flash
- useful since generators generate views that use notice
- test case doesn't try to include modules that are actually classes
- test view delegates :notice to request.flash
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/8e583b69e8b3017e85440c97b325ca...