This project is archived and is in readonly mode.
Support assert_template in view tests
Reported by David Chelimsky | June 19th, 2010 @ 04:16 AM
assert_template can be useful in view tests to
specify which partials get rendered under different conditions.
It currently almost "just works" - just need to add this line:
@request = @controller.request
Patch (with test(s)) forthcoming .
Comments and changes to this ticket
- 
            
        

David Chelimsky June 19th, 2010 @ 04:24 AM
- Tag set to action_view, patch
 - Assigned user set to José Valim
 
 - 
        

Repository June 19th, 2010 @ 11:32 PM
- State changed from new to resolved
 
(from [86002a0dfe45c972a2498e33a6a2a882804603bd]) Support render_template in view tests. Useful for specifying which partials are rendered under different conditions.
[#4903 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/86002a0dfe45c972a2498e33a6a2a8... 
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>
People watching this ticket
Tags
Referenced by
- 
        
          4903 
          Support assert_template in view tests
        [#4903 state:resolved]